import type { SlashCommand } from '@wrongstack/core/types'; import type { QueueItem } from './app-state.js'; /** * Dependencies the `/queue` command needs from the App. The TUI registers * the command at mount time with closures over `getQueue` (reads the latest * queue snapshot via a ref) and the three mutators. The command returns * its output as `{ message }` which the App pipes into history as `info`. */ export interface QueueSlashDeps { getQueue: () => QueueItem[]; clear: () => void; deleteAt: (positions: number[]) => void; /** Whether the mid-run send-mode picker is enabled. */ getPickerEnabled?: (() => boolean) | undefined; /** Enable/disable the mid-run send-mode picker (persists). */ setPickerEnabled?: ((enabled: boolean) => void) | undefined; } export declare function createQueueSlashCommand(deps: QueueSlashDeps): SlashCommand; /** * Pure logic for the /queue command. Exported separately so tests can * drive it without spinning up Ink. */ export declare function handleQueueCommand(args: string, deps: QueueSlashDeps): string; //# sourceMappingURL=queue-slash.d.ts.map