/** * crewx query handler. * Parses args, loads config via Crewx SDK, and executes the query. * * Flags: * --thread Conversation thread name * --provider Provider override * --metadata Extra metadata JSON (double-quoted object). Propagated to events/hooks/tracing. * e.g. --metadata='{"workflow_id":"wf-1"}' * --verbose Debug output mode (default: raw agent response only) * --config/-c Config file path override * --output-format Output format (json|text|stream-json) * --effort Model effort (high|medium|low) * -f/--prompt-file Read prompt body from file (bypasses cmd.exe argv truncation) * * Stdin support: * Pipe or redirect content into crewx q to supply the prompt body via stdin. * e.g. cat brief.md | crewx q "@agent label" * Stdin is ignored when running in an interactive TTY. */ /** * Handle `crewx query ` command. * * Default output: raw agent response only (stdout). * --verbose: debug info written to stderr, response to stdout. */ export declare function handleQuery(args: string[]): Promise;