/** * Deterministic command grammar for the `apiclaw acp` transport. * * Pure string parsing, no I/O. The ACP prompt turn concatenates the text * content blocks of a `session/prompt` request into one string and hands it * here. Anything unparseable returns the SAME "unparseable" kind as an * explicit `help` request - the dispatcher replies with the grammar listing * either way, per the product requirement that this usage text IS the * agent's reply, not an error. */ export type ParsedAcpCommand = { kind: "help"; } | { kind: "unparseable"; } | { kind: "status"; } | { kind: "balance"; } | { kind: "discover"; query: string; } | { kind: "details"; provider: string; action?: string; } | { kind: "call"; target: string; params?: Record; paramsError?: string; }; export declare const GRAMMAR_HELP_TEXT: string; export declare function parseAcpCommand(input: string): ParsedAcpCommand; //# sourceMappingURL=acp-grammar.d.ts.map