import { type McpToolsetName, type McpToolSurface } from "./constants.js"; import { type ConnectorConfig } from "./config.js"; import { type ConnectorConfigDocument, type ConnectorConfigDocumentObservability } from "./config-document.js"; export type ConnectorProfile = ConnectorConfigDocument; export interface ProfileLocationOptions { directory?: string; environment?: NodeJS.ProcessEnv; homeDirectory?: string; platform?: NodeJS.Platform; } export interface SaveProfileOptions extends ProfileLocationOptions { overwrite?: boolean; } export interface ActivatedProfile { config: ConnectorConfig; profile: ConnectorProfile; } export interface TrashedProfile { name: string; trashId: string; } export declare function normalizeProfileName(value: string): string; export declare function parseConnectorProfile(value: unknown, expectedName?: string): ConnectorProfile; export declare function createConnectorProfile(options: { applicationId: string; botId: string; capabilities?: Readonly>; channelIds?: readonly string[]; credentialFile?: string; credentialVariable?: string; gatewayEnabled?: boolean; gatewayEventBufferSize?: number; guildIds: readonly string[]; limits?: Readonly>; name: string; observability?: ConnectorConfigDocumentObservability; runtime?: Readonly>; scopes?: Readonly>; storage?: Readonly>; toolsets: readonly McpToolsetName[]; toolSurface: McpToolSurface; }): ConnectorProfile; export declare function resolveProfileDirectory(options?: ProfileLocationOptions): string; export declare function profilePath(name: string, options?: ProfileLocationOptions): string; export declare function loadProfile(name: string, options?: ProfileLocationOptions): Promise; export declare function listProfiles(options?: ProfileLocationOptions): Promise; export declare function saveProfile(profile: ConnectorProfile, options?: SaveProfileOptions): Promise; export declare function trashProfile(name: string, options?: ProfileLocationOptions): Promise; export declare function restoreProfile(name: string, options?: ProfileLocationOptions): Promise; export declare function activateProfile(name: string, options?: ProfileLocationOptions & { environment?: NodeJS.ProcessEnv; }): Promise; //# sourceMappingURL=profile.d.ts.map