import { type DrizzleExecutor } from "../drizzle.js"; import { type IntegrationMutation, type IssuedSlashCommand } from "../integrations/types.js"; import { type SecretProtector } from "../integrations/secrets.js"; import { type WebhookUrlPolicy } from "../integrations/ssrf.js"; /** * Registers a unique slashCommands trigger and the webhookSubscriptions route that will receive invocations for its validated bot. * Creating command and delivery subscription together prevents discoverable commands from existing without an executable integration endpoint. */ export declare function slashCommandCreate(executor: DrizzleExecutor, urlPolicy: WebhookUrlPolicy, protector: SecretProtector, input: { actorUserId: string; name: string; description?: string; command: string; usageHint?: string; handlerUrl: string; botId?: string; }): Promise>; //# sourceMappingURL=slashCommandCreate.d.ts.map