diff --git a/src/index.ts b/src/index.ts index b5ff4d6..00f8556 100644 --- a/src/index.ts +++ b/src/index.ts @@ -7,10 +7,9 @@ import { type RuntimeConfig, type RuntimeConfigHTTP, } from './client/base'; -import { type ObjectToLower, isCloudfareWorker } from './common'; +import { isCloudfareWorker } from './common'; import type { ClientNameEvents, CustomEventsKeys, ResolveEventParams } from './events'; import { GatewayIntentBits } from './types'; -import type { APIMessageInteractionMetadata } from './types/payloads/_interactions/base'; export { Logger, PermissionStrings, Formatter } from './common'; // export { Collection, LimitedCollection } from './collection'; @@ -106,14 +105,3 @@ export function extendContext( ) { return cb; } - -declare const authorizedIntegrationOwners: ObjectToLower< - APIMessageInteractionMetadata['authorizing_integration_owners'] ->; -authorizedIntegrationOwners; -// ^? - -declare const interactionMetadataLowercase: ObjectToLower; - -interactionMetadataLowercase.authorizingIntegrationOwners; -//. ^?