import { type DrizzleTransaction } from "../drizzle.js"; import { type IntegrationKind, type IntegrationScope } from "../integrations/types.js"; /** * Inserts a normalized integrations definition with its owner, provider type, capabilities, and initial active state. * Keeping construction in the caller's transaction lets related bot or webhook records roll back when the integration cannot be fully provisioned. */ export declare function integrationInsert(tx: DrizzleTransaction, input: { actorUserId: string; kind: IntegrationKind; name: string; description?: string; botId?: string; scopes: readonly IntegrationScope[]; }): Promise<{ id: string; }>; //# sourceMappingURL=integrationInsert.d.ts.map