import { type McpToolsetName, type McpToolSurface } from "./constants.js"; import { type ConnectorConfigDocument } from "./config-document.js"; import { type ObservabilityConfig } from "./observability-config.js"; export interface ConnectorConfig { adminGuildIds: ReadonlySet; announcementCrosspostChannelIds: ReadonlySet; announcementSubscriptionSourceChannelIds: ReadonlySet; announcementSubscriptionTargetChannelIds: ReadonlySet; allowedChannelIds: ReadonlySet; allowedGuildIds: ReadonlySet; allowAdministration: boolean; allowApplicationCommandChanges: boolean; allowGlobalApplicationCommandChanges: boolean; allowApplicationEmojiAudit: boolean; allowApplicationEmojiChanges: boolean; allowApplicationEntitlementConsumption: boolean; allowApplicationIntentChanges: boolean; allowApplicationMonetizationAudit: boolean; allowApplicationTestEntitlementChanges: boolean; allowApplicationRoleConnectionMetadataChanges: boolean; allowBotProfileAudit: boolean; allowBotProfileChanges: boolean; allowAnnouncementCrossposts: boolean; allowAnnouncementSubscriptionAudit: boolean; allowAnnouncementSubscriptionChanges: boolean; allowAttachments: boolean; allowAutomodAudit: boolean; allowAutomodChanges: boolean; allowBanAudit: boolean; allowBulkBanAudit: boolean; allowBulkBans: boolean; allowBulkMemberRoleChanges: boolean; allowChannelCloneAudit: boolean; allowChannelCloning: boolean; allowChannelCreation: boolean; allowChannelDeletionAudit: boolean; allowChannelDeletions: boolean; allowChannelMetadataChanges: boolean; allowChannelOrderingAudit: boolean; allowChannelOrderingChanges: boolean; allowDeletions: boolean; allowDirectMessageAudit: boolean; allowDirectMessageAttachments: boolean; allowDirectMessageDeletion: boolean; allowDirectMessageDelivery: boolean; allowDirectMessageEditing: boolean; allowEmbedMessages: boolean; allowForumPosts: boolean; allowForumTagAudit: boolean; allowForumTagChanges: boolean; allowGateway: boolean; allowGuildExpressionAudit: boolean; allowGuildExpressionChanges: boolean; allowGuildCommunityAudit: boolean; allowGuildCommunityChanges: boolean; allowGuildDepartures: boolean; allowGuildIncidentAudit: boolean; allowGuildIncidentChanges: boolean; allowGuildProfileAudit: boolean; allowGuildProfileChanges: boolean; allowGuildPruneAudit: boolean; allowGuildPrunes: boolean; allowGuildScaffolds: boolean; allowGuildSettingsAudit: boolean; allowGuildSettingsChanges: boolean; allowGuildTemplateAudit: boolean; allowGuildTemplateChanges: boolean; allowIntegrationAudit: boolean; allowIntegrationDeletions: boolean; allowInteractions: boolean; allowInviteAudit: boolean; allowInviteCreation: boolean; allowInviteRoleAssignment: boolean; allowInviteDeletions: boolean; allowMemberDirectory: boolean; allowNicknameChanges: boolean; allowOtherMemberNicknameChanges: boolean; allowMemberRoleChanges: boolean; allowMemberVerificationChanges: boolean; allowMemberVoiceAudit: boolean; allowMemberVoiceChanges: boolean; allowCrossGuildMessageForwarding: boolean; allowMessageForwarding: boolean; allowNativeCommandChanges: boolean; allowNativeInteractions: boolean; allowOnboardingAudit: boolean; allowOnboardingChanges: boolean; allowPermissionOverwrites: boolean; allowPermissionSyncs: boolean; allowPinManagement: boolean; allowPollAudit: boolean; allowPollCreation: boolean; allowPollEnding: boolean; allowPollVoterAudit: boolean; allowReactionModeration: boolean; allowReactionUserAudit: boolean; allowRoleCreation: boolean; allowRoleConfiguration: boolean; allowRoleDeletionAudit: boolean; allowRoleDeletions: boolean; allowRoleOrderingAudit: boolean; allowRoleOrderingChanges: boolean; allowScheduledEventAudit: boolean; allowScheduledEventChanges: boolean; allowScheduledEventUserAudit: boolean; allowSoundboardAudit: boolean; allowSoundboardChanges: boolean; allowSoundboardPlayback: boolean; allowStageInstanceAudit: boolean; allowStageInstanceChanges: boolean; allowStageStartNotifications: boolean; allowThreadCreation: boolean; allowThreadAudit: boolean; allowThreadChanges: boolean; allowWelcomeScreenAudit: boolean; allowWelcomeScreenChanges: boolean; allowWebhookAudit: boolean; allowWebhookChanges: boolean; allowWebhookCreation: boolean; allowWebhookDeletions: boolean; allowWebhookMessageAudit: boolean; allowWebhookMessageChanges: boolean; allowWebhookMessageDeletions: boolean; allowWebhookMessageDelivery: boolean; allowWidgetPublicExposure: boolean; allowWidgetSettingsAudit: boolean; allowWidgetSettingsChanges: boolean; applicationEmojiRoots: readonly string[]; applicationCommandGuildIds: ReadonlySet; applicationConsumableEntitlementSkuIds: ReadonlySet; applicationConsumableEntitlementUserIds: ReadonlySet; applicationEntitlementGuildIds: ReadonlySet; applicationEntitlementUserIds: ReadonlySet; applicationMonetizationSkuIds: ReadonlySet; applicationSubscriptionUserIds: ReadonlySet; applicationTestEntitlementGuildIds: ReadonlySet; applicationTestEntitlementSkuIds: ReadonlySet; applicationTestEntitlementUserIds: ReadonlySet; auditFile: string; attachmentChannelIds: ReadonlySet; attachmentMaxBytes: number; attachmentRoots: readonly string[]; botProfileRoots: readonly string[]; automodAlertChannelIds: ReadonlySet; automodGuildIds: ReadonlySet; banAuditGuildIds: ReadonlySet; bulkBanGuildIds: ReadonlySet; bulkMemberRoleGuildIds: ReadonlySet; bulkMemberRoleIds: ReadonlySet; channelCloneGuildIds: ReadonlySet; channelCloneSourceIds: ReadonlySet; channelCreationGuildIds: ReadonlySet; channelDeletionIds: ReadonlySet; channelMetadataIds: ReadonlySet; channelOrderingGuildIds: ReadonlySet; componentLinkOrigins: ReadonlySet; deleteChannelIds: ReadonlySet; directMessageUserIds: ReadonlySet; embedMessageChannelIds: ReadonlySet; expectedApplicationId: string | undefined; expectedBotId: string | undefined; forumPostChannelIds: ReadonlySet; forumTagChannelIds: ReadonlySet; gatewayEventBufferSize: number; guildScaffoldGuildIds: ReadonlySet; guildCommunityGuildIds: ReadonlySet; guildDepartureGuildIds: ReadonlySet; guildExpressionGuildIds: ReadonlySet; guildExpressionRoots: readonly string[]; guildIncidentGuildIds: ReadonlySet; guildProfileGuildIds: ReadonlySet; guildPruneGuildIds: ReadonlySet; guildPruneIncludeRoleIds: ReadonlySet; guildPruneMaxMembers: number; guildSettingsGuildIds: ReadonlySet; guildTemplateGuildIds: ReadonlySet; integrationGuildIds: ReadonlySet; integrationIds: ReadonlySet; interactionChannelIds: ReadonlySet; interactionMaxWritesPerMinute: number; interactionMinWriteIntervalMs: number; inviteCapabilityRoots: readonly string[]; mcpReadResponseMaxBytes: number; inviteCreationChannelIds: ReadonlySet; inviteRoleIds: ReadonlySet; inviteGuildIds: ReadonlySet; mentionUserIds: ReadonlySet; memberDirectoryGuildIds: ReadonlySet; nicknameGuildIds: ReadonlySet; memberRoleGuildIds: ReadonlySet; memberRoleIds: ReadonlySet; memberVerificationGuildIds: ReadonlySet; memberVoiceChannelIds: ReadonlySet; memberVoiceGuildIds: ReadonlySet; messageForwardSourceChannelIds: ReadonlySet; messageForwardTargetChannelIds: ReadonlySet; nativeCommandName: string; nativeInteractionChannelIds: ReadonlySet; nativeInteractionGuildIds: ReadonlySet; nativeInteractionMaxPending: number; nativeInteractionTtlSeconds: number; nativeInteractionUserIds: ReadonlySet; mcpToolsets: ReadonlySet; mcpToolSurface: McpToolSurface; observability: ObservabilityConfig; onboardingGuildIds: ReadonlySet; permissionOverwriteChannelIds: ReadonlySet; permissionSyncChannelIds: ReadonlySet; protectedUserIds: ReadonlySet; pinChannelIds: ReadonlySet; pollChannelIds: ReadonlySet; reactionChannelIds: ReadonlySet; roleCreationGuildIds: ReadonlySet; roleConfigurationIds: ReadonlySet; roleDeletionIds: ReadonlySet; roleOrderingGuildIds: ReadonlySet; scheduledEventGuildIds: ReadonlySet; scheduledEventRoots: readonly string[]; secretEnvironmentVariables: ReadonlySet; soundboardGuildIds: ReadonlySet; soundboardPlaybackChannelIds: ReadonlySet; soundboardPlaybackSourceGuildIds: ReadonlySet; soundboardRoots: readonly string[]; stageChannelIds: ReadonlySet; token: string; threadParentIds: ReadonlySet; threadGuildIds: ReadonlySet; threadIds: ReadonlySet; threadMemberUserIds: ReadonlySet; welcomeScreenGuildIds: ReadonlySet; webhookChannelIds: ReadonlySet; webhookCredentialRoot: string | null; webhookGuildIds: ReadonlySet; webhookMessageChannelIds: ReadonlySet; widgetSettingsGuildIds: ReadonlySet; } export interface ConfigOptions { homeDirectory?: string; } export declare function resolveConnectorConfigDocumentAuditFile(documentValue: ConnectorConfigDocument, environment?: NodeJS.ProcessEnv, options?: ConfigOptions): string; export declare function loadConnectorConfig(environment?: NodeJS.ProcessEnv, options?: ConfigOptions): ConnectorConfig; export declare function loadConnectorConfigDocument(documentValue: ConnectorConfigDocument, environment: NodeJS.ProcessEnv, options?: ConfigOptions): ConnectorConfig; //# sourceMappingURL=config.d.ts.map