import { type DrizzleExecutor } from "../../drizzle.js"; import { type IntegrationKind, type IntegrationMutation, type IntegrationScope, type IntegrationSummary } from "../../integrations/types.js"; /** * Validates server-administrator authority and any active bot binding before inserting an integration and publishing its creation change. * The transaction prevents callers from receiving an integration whose audit, sync sequence, or optional bot validation failed to commit. */ export declare function createIntegrationRecord(executor: DrizzleExecutor, input: { actorUserId: string; kind: IntegrationKind; name: string; description?: string; botId?: string; scopes: readonly IntegrationScope[]; }): Promise>; //# sourceMappingURL=createIntegrationRecord.d.ts.map