import { ActionRowBuilder, ButtonBuilder, type Client } from "discord.js"; import type { TurnControls } from "./base.js"; export declare function buildStopButtonId(orgSlug: string, userId: string): string; export declare function parseStopButtonId(customId: string): { orgSlug: string; userId: string; } | null; /** Build the 🛑 button action row, optionally rendered disabled (post-click). */ export declare function stopButtonRow(customId: string, disabled?: boolean): ActionRowBuilder; /** * Register the InteractionCreate handler for live-card 🛑 buttons. Safe to call * from `Client.on(Events.ClientReady)` alongside `registerOnboarding` — both * filter by customId so they coexist on the same gateway. `getControls` * resolves the runner hook lazily (it's wired after startBot). */ export declare function registerTurnControls(client: Client, getControls: () => TurnControls | null): void;