import { z } from 'zod';
export declare const MemorySearchScopeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
    type: z.ZodLiteral<"global">;
}, z.core.$loose>, z.ZodObject<{
    type: z.ZodLiteral<"session">;
    sessionId: z.ZodString;
}, z.core.$loose>], "type">;
export type MemorySearchScope = z.infer<typeof MemorySearchScopeSchema>;
export declare const MemorySearchModeSchema: z.ZodEnum<{
    hints: "hints";
    deep: "deep";
    auto: "auto";
}>;
export type MemorySearchMode = z.infer<typeof MemorySearchModeSchema>;
export declare const MemorySearchErrorCodeSchema: z.ZodEnum<{
    memory_disabled: "memory_disabled";
    memory_key_unavailable: "memory_key_unavailable";
    memory_index_missing: "memory_index_missing";
    memory_invalid_query: "memory_invalid_query";
    memory_failed: "memory_failed";
}>;
export type MemorySearchErrorCode = z.infer<typeof MemorySearchErrorCodeSchema>;
export declare const MemoryCitationV1Schema: z.ZodObject<{
    sessionId: z.ZodString;
    seqFrom: z.ZodNumber;
    seqTo: z.ZodNumber;
}, z.core.$loose>;
export type MemoryCitationV1 = z.infer<typeof MemoryCitationV1Schema>;
export declare const MemorySearchHitV1Schema: z.ZodObject<{
    sessionId: z.ZodString;
    seqFrom: z.ZodNumber;
    seqTo: z.ZodNumber;
    createdAtFromMs: z.ZodNumber;
    createdAtToMs: z.ZodNumber;
    summary: z.ZodString;
    score: z.ZodNumber;
}, z.core.$loose>;
export type MemorySearchHitV1 = z.infer<typeof MemorySearchHitV1Schema>;
export declare const MemorySearchQueryV1Schema: z.ZodObject<{
    v: z.ZodLiteral<1>;
    query: z.ZodString;
    scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
        type: z.ZodLiteral<"global">;
    }, z.core.$loose>, z.ZodObject<{
        type: z.ZodLiteral<"session">;
        sessionId: z.ZodString;
    }, z.core.$loose>], "type">;
    mode: z.ZodEnum<{
        hints: "hints";
        deep: "deep";
        auto: "auto";
    }>;
    maxResults: z.ZodOptional<z.ZodNumber>;
    minScore: z.ZodOptional<z.ZodNumber>;
}, z.core.$loose>;
export type MemorySearchQueryV1 = z.infer<typeof MemorySearchQueryV1Schema>;
export declare const MemorySearchResultV1Schema: z.ZodUnion<readonly [z.ZodObject<{
    v: z.ZodLiteral<1>;
    ok: z.ZodLiteral<true>;
    hits: z.ZodArray<z.ZodObject<{
        sessionId: z.ZodString;
        seqFrom: z.ZodNumber;
        seqTo: z.ZodNumber;
        createdAtFromMs: z.ZodNumber;
        createdAtToMs: z.ZodNumber;
        summary: z.ZodString;
        score: z.ZodNumber;
    }, z.core.$loose>>;
}, z.core.$loose>, z.ZodObject<{
    v: z.ZodLiteral<1>;
    ok: z.ZodLiteral<false>;
    errorCode: z.ZodEnum<{
        memory_disabled: "memory_disabled";
        memory_key_unavailable: "memory_key_unavailable";
        memory_index_missing: "memory_index_missing";
        memory_invalid_query: "memory_invalid_query";
        memory_failed: "memory_failed";
    }>;
    error: z.ZodString;
}, z.core.$loose>]>;
export type MemorySearchResultV1 = z.infer<typeof MemorySearchResultV1Schema>;
//# sourceMappingURL=memorySearch.d.ts.map