export type SlashCard = { kind: "card"; text: string; }; export type SlashAction = { kind: "action"; action: "exit" | "new" | "clear" | "pick-agent" | "cancel"; }; export type SlashResult = SlashCard | SlashAction; /** * Parse a user line that starts with `/`. Anything else is prose for the agent. * * Exported for tests; the ask session is the only production caller. */ export declare function parseSlash(text: string): SlashResult | undefined; export declare class ChatSessionAction extends Error { readonly action: SlashAction["action"]; constructor(action: SlashAction["action"]); } //# sourceMappingURL=slash.d.ts.map