import { z } from "zod";
export declare const SubQuerySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
    type: z.ZodLiteral<"symbols">;
    query: z.ZodString;
    kind: z.ZodOptional<z.ZodEnum<{
        function: "function";
        method: "method";
        class: "class";
        interface: "interface";
        type: "type";
        variable: "variable";
        constant: "constant";
        field: "field";
        enum: "enum";
        namespace: "namespace";
        module: "module";
        section: "section";
        metadata: "metadata";
        test_suite: "test_suite";
        test_case: "test_case";
        test_hook: "test_hook";
        default_export: "default_export";
        conversation_turn: "conversation_turn";
        conversation_summary: "conversation_summary";
        unknown: "unknown";
    }>>;
    file_pattern: z.ZodOptional<z.ZodString>;
    top_k: z.ZodOptional<z.ZodNumber>;
    source_chars: z.ZodOptional<z.ZodNumber>;
    rerank: z.ZodOptional<z.ZodBoolean>;
}, z.core.$strip>, z.ZodObject<{
    type: z.ZodLiteral<"text">;
    query: z.ZodString;
    regex: z.ZodOptional<z.ZodBoolean>;
    context_lines: z.ZodOptional<z.ZodNumber>;
    file_pattern: z.ZodOptional<z.ZodString>;
}, z.core.$strip>, z.ZodObject<{
    type: z.ZodLiteral<"file_tree">;
    path: z.ZodOptional<z.ZodString>;
    path_prefix: z.ZodOptional<z.ZodString>;
    name_pattern: z.ZodOptional<z.ZodString>;
    depth: z.ZodOptional<z.ZodNumber>;
    compact: z.ZodOptional<z.ZodBoolean>;
    min_symbols: z.ZodOptional<z.ZodNumber>;
}, z.core.$strip>, z.ZodObject<{
    type: z.ZodLiteral<"outline">;
    file_path: z.ZodString;
}, z.core.$strip>, z.ZodObject<{
    type: z.ZodLiteral<"references">;
    symbol_name: z.ZodString;
}, z.core.$strip>, z.ZodObject<{
    type: z.ZodLiteral<"call_chain">;
    symbol_name: z.ZodString;
    direction: z.ZodOptional<z.ZodEnum<{
        callers: "callers";
        callees: "callees";
    }>>;
    depth: z.ZodOptional<z.ZodNumber>;
    include_source: z.ZodOptional<z.ZodBoolean>;
}, z.core.$strip>, z.ZodObject<{
    type: z.ZodLiteral<"impact">;
    since: z.ZodString;
    depth: z.ZodOptional<z.ZodNumber>;
    until: z.ZodOptional<z.ZodString>;
    include_source: z.ZodOptional<z.ZodBoolean>;
}, z.core.$strip>, z.ZodObject<{
    type: z.ZodLiteral<"context">;
    query: z.ZodString;
    max_tokens: z.ZodOptional<z.ZodNumber>;
}, z.core.$strip>, z.ZodObject<{
    type: z.ZodLiteral<"knowledge_map">;
    focus: z.ZodOptional<z.ZodString>;
    depth: z.ZodOptional<z.ZodNumber>;
}, z.core.$strip>, z.ZodObject<{
    type: z.ZodLiteral<"semantic">;
    query: z.ZodString;
    top_k: z.ZodOptional<z.ZodNumber>;
    file_filter: z.ZodOptional<z.ZodString>;
    exclude_tests: z.ZodOptional<z.ZodBoolean>;
    source_chars: z.ZodOptional<z.ZodNumber>;
    rerank: z.ZodOptional<z.ZodBoolean>;
}, z.core.$strip>, z.ZodObject<{
    type: z.ZodLiteral<"hybrid">;
    query: z.ZodString;
    top_k: z.ZodOptional<z.ZodNumber>;
    file_filter: z.ZodOptional<z.ZodString>;
    exclude_tests: z.ZodOptional<z.ZodBoolean>;
    rerank: z.ZodOptional<z.ZodBoolean>;
}, z.core.$strip>, z.ZodObject<{
    type: z.ZodLiteral<"conversation">;
    query: z.ZodString;
    project: z.ZodOptional<z.ZodString>;
    limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
}, z.core.$strip>], "type">;
export type SubQuery = z.infer<typeof SubQuerySchema>;
export type SubQueryResult = {
    type: string;
    data: unknown;
    tokens: number;
};
export interface CodebaseRetrievalResult {
    results: SubQueryResult[];
    total_tokens: number;
    truncated: boolean;
    query_count: number;
    /** Set when the call hit the end-to-end wall-clock cap. Carries an
     * actionable hint so the agent can narrow scope or split queries. */
    wall_clock_truncated?: boolean;
    hint?: string;
}
//# sourceMappingURL=retrieval-schemas.d.ts.map