export declare const MEMORY_ROUTES: readonly [import(".").ServerRoute<{
    agentId: string;
    resourceId?: string | undefined;
    threadId?: string | undefined;
}, {
    result: boolean;
    observationalMemory?: {
        enabled: boolean;
        hasRecord?: boolean | undefined;
        originType?: string | undefined;
        lastObservedAt?: Date | undefined;
        tokenCount?: number | undefined;
        observationTokenCount?: number | undefined;
        isObserving?: boolean | undefined;
        isReflecting?: boolean | undefined;
    } | undefined;
}, "json", import(".").RouteSchemas<undefined, import("zod").ZodObject<{
    agentId: import("zod").ZodString;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
    threadId: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>, undefined, import("zod").ZodObject<{
    result: import("zod").ZodBoolean;
    observationalMemory: import("zod").ZodOptional<import("zod").ZodObject<{
        enabled: import("zod").ZodBoolean;
        hasRecord: import("zod").ZodOptional<import("zod").ZodBoolean>;
        originType: import("zod").ZodOptional<import("zod").ZodString>;
        lastObservedAt: import("zod").ZodOptional<import("zod").ZodDate>;
        tokenCount: import("zod").ZodOptional<import("zod").ZodNumber>;
        observationTokenCount: import("zod").ZodOptional<import("zod").ZodNumber>;
        isObserving: import("zod").ZodOptional<import("zod").ZodBoolean>;
        isReflecting: import("zod").ZodOptional<import("zod").ZodBoolean>;
    }, import("zod/v4/core").$strip>>;
}, import("zod/v4/core").$strip>>, "GET", "/memory/status">, import(".").ServerRoute<{
    agentId: string;
}, {
    config: {
        lastMessages?: number | false | undefined;
        semanticRecall?: any;
        workingMemory?: any;
        observationalMemory?: {
            enabled: boolean;
            scope?: "thread" | "resource" | undefined;
            shareTokenBudget?: boolean | undefined;
            messageTokens?: number | {
                min: number;
                max: number;
            } | undefined;
            observationTokens?: number | {
                min: number;
                max: number;
            } | undefined;
            observationModel?: string | undefined;
            reflectionModel?: string | undefined;
        } | undefined;
    };
}, "json", import(".").RouteSchemas<undefined, import("zod").ZodObject<{
    agentId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, undefined, import("zod").ZodObject<{
    config: import("zod").ZodObject<{
        lastMessages: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodLiteral<false>]>>;
        semanticRecall: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodBoolean, import("zod").ZodAny]>>;
        workingMemory: import("zod").ZodOptional<import("zod").ZodAny>;
        observationalMemory: import("zod").ZodOptional<import("zod").ZodObject<{
            enabled: import("zod").ZodBoolean;
            scope: import("zod").ZodOptional<import("zod").ZodEnum<{
                thread: "thread";
                resource: "resource";
            }>>;
            shareTokenBudget: import("zod").ZodOptional<import("zod").ZodBoolean>;
            messageTokens: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodObject<{
                min: import("zod").ZodNumber;
                max: import("zod").ZodNumber;
            }, import("zod/v4/core").$strip>]>>;
            observationTokens: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodObject<{
                min: import("zod").ZodNumber;
                max: import("zod").ZodNumber;
            }, import("zod/v4/core").$strip>]>>;
            observationModel: import("zod").ZodOptional<import("zod").ZodString>;
            reflectionModel: import("zod").ZodOptional<import("zod").ZodString>;
        }, import("zod/v4/core").$strip>>;
    }, import("zod/v4/core").$strip>;
}, import("zod/v4/core").$strip>>, "GET", "/memory/config">, import(".").ServerRoute<{
    agentId: string;
    resourceId?: string | undefined;
    threadId?: string | undefined;
}, {
    record: {
        id: string;
        scope: "thread" | "resource";
        resourceId: string;
        threadId: string | null;
        activeObservations: string;
        originType: "observation" | "reflection" | "initial";
        generationCount: number;
        totalTokensObserved: number;
        observationTokenCount: number;
        pendingMessageTokens: number;
        isObserving: boolean;
        isReflecting: boolean;
        config: Record<string, unknown>;
        createdAt: Date;
        updatedAt: Date;
        bufferedObservations?: string | undefined;
        bufferedReflection?: string | undefined;
        lastObservedAt?: Date | undefined;
        metadata?: Record<string, unknown> | undefined;
    } | null;
    history?: {
        id: string;
        scope: "thread" | "resource";
        resourceId: string;
        threadId: string | null;
        activeObservations: string;
        originType: "observation" | "reflection" | "initial";
        generationCount: number;
        totalTokensObserved: number;
        observationTokenCount: number;
        pendingMessageTokens: number;
        isObserving: boolean;
        isReflecting: boolean;
        config: Record<string, unknown>;
        createdAt: Date;
        updatedAt: Date;
        bufferedObservations?: string | undefined;
        bufferedReflection?: string | undefined;
        lastObservedAt?: Date | undefined;
        metadata?: Record<string, unknown> | undefined;
    }[] | undefined;
}, "json", import(".").RouteSchemas<undefined, import("zod").ZodObject<{
    agentId: import("zod").ZodString;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
    threadId: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>, undefined, import("zod").ZodObject<{
    record: import("zod").ZodNullable<import("zod").ZodObject<{
        id: import("zod").ZodString;
        scope: import("zod").ZodEnum<{
            thread: "thread";
            resource: "resource";
        }>;
        resourceId: import("zod").ZodString;
        threadId: import("zod").ZodNullable<import("zod").ZodString>;
        activeObservations: import("zod").ZodString;
        bufferedObservations: import("zod").ZodOptional<import("zod").ZodString>;
        bufferedReflection: import("zod").ZodOptional<import("zod").ZodString>;
        originType: import("zod").ZodEnum<{
            observation: "observation";
            reflection: "reflection";
            initial: "initial";
        }>;
        generationCount: import("zod").ZodNumber;
        lastObservedAt: import("zod").ZodOptional<import("zod").ZodDate>;
        totalTokensObserved: import("zod").ZodNumber;
        observationTokenCount: import("zod").ZodNumber;
        pendingMessageTokens: import("zod").ZodNumber;
        isObserving: import("zod").ZodBoolean;
        isReflecting: import("zod").ZodBoolean;
        config: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
        metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
        createdAt: import("zod").ZodDate;
        updatedAt: import("zod").ZodDate;
    }, import("zod/v4/core").$strip>>;
    history: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
        id: import("zod").ZodString;
        scope: import("zod").ZodEnum<{
            thread: "thread";
            resource: "resource";
        }>;
        resourceId: import("zod").ZodString;
        threadId: import("zod").ZodNullable<import("zod").ZodString>;
        activeObservations: import("zod").ZodString;
        bufferedObservations: import("zod").ZodOptional<import("zod").ZodString>;
        bufferedReflection: import("zod").ZodOptional<import("zod").ZodString>;
        originType: import("zod").ZodEnum<{
            observation: "observation";
            reflection: "reflection";
            initial: "initial";
        }>;
        generationCount: import("zod").ZodNumber;
        lastObservedAt: import("zod").ZodOptional<import("zod").ZodDate>;
        totalTokensObserved: import("zod").ZodNumber;
        observationTokenCount: import("zod").ZodNumber;
        pendingMessageTokens: import("zod").ZodNumber;
        isObserving: import("zod").ZodBoolean;
        isReflecting: import("zod").ZodBoolean;
        config: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
        metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
        createdAt: import("zod").ZodDate;
        updatedAt: import("zod").ZodDate;
    }, import("zod/v4/core").$strip>>>;
}, import("zod/v4/core").$strip>>, "GET", "/memory/observational-memory">, import(".").ServerRoute<{
    agentId: string;
    resourceId?: string | undefined;
    threadId?: string | undefined;
}, {
    record: {
        id: string;
        scope: "thread" | "resource";
        resourceId: string;
        threadId: string | null;
        activeObservations: string;
        originType: "observation" | "reflection" | "initial";
        generationCount: number;
        totalTokensObserved: number;
        observationTokenCount: number;
        pendingMessageTokens: number;
        isObserving: boolean;
        isReflecting: boolean;
        config: Record<string, unknown>;
        createdAt: Date;
        updatedAt: Date;
        bufferedObservations?: string | undefined;
        bufferedReflection?: string | undefined;
        lastObservedAt?: Date | undefined;
        metadata?: Record<string, unknown> | undefined;
    } | null;
}, "json", import(".").RouteSchemas<undefined, undefined, import("zod").ZodObject<{
    agentId: import("zod").ZodString;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
    threadId: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    record: import("zod").ZodNullable<import("zod").ZodObject<{
        id: import("zod").ZodString;
        scope: import("zod").ZodEnum<{
            thread: "thread";
            resource: "resource";
        }>;
        resourceId: import("zod").ZodString;
        threadId: import("zod").ZodNullable<import("zod").ZodString>;
        activeObservations: import("zod").ZodString;
        bufferedObservations: import("zod").ZodOptional<import("zod").ZodString>;
        bufferedReflection: import("zod").ZodOptional<import("zod").ZodString>;
        originType: import("zod").ZodEnum<{
            observation: "observation";
            reflection: "reflection";
            initial: "initial";
        }>;
        generationCount: import("zod").ZodNumber;
        lastObservedAt: import("zod").ZodOptional<import("zod").ZodDate>;
        totalTokensObserved: import("zod").ZodNumber;
        observationTokenCount: import("zod").ZodNumber;
        pendingMessageTokens: import("zod").ZodNumber;
        isObserving: import("zod").ZodBoolean;
        isReflecting: import("zod").ZodBoolean;
        config: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
        metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
        createdAt: import("zod").ZodDate;
        updatedAt: import("zod").ZodDate;
    }, import("zod/v4/core").$strip>>;
}, import("zod/v4/core").$strip>>, "POST", "/memory/observational-memory/buffer-status">, import(".").ServerRoute<import(".").InferParams<undefined, import("zod").ZodObject<{
    perPage: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
    page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
    agentId: import("zod").ZodOptional<import("zod").ZodString>;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
    metadata: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>>;
    orderBy: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodObject<{
        field: import("zod").ZodOptional<import("zod").ZodEnum<{
            createdAt: "createdAt";
            updatedAt: "updatedAt";
        }>>;
        direction: import("zod").ZodOptional<import("zod").ZodEnum<{
            ASC: "ASC";
            DESC: "DESC";
        }>>;
    }, import("zod/v4/core").$strip>>>;
}, import("zod/v4/core").$strip> | import("zod").ZodObject<{
    perPage: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
    page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
    agentId: import("zod").ZodOptional<import("zod").ZodString>;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
    metadata: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>>;
    orderBy: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodObject<{
        field: import("zod").ZodOptional<import("zod").ZodEnum<{
            createdAt: "createdAt";
            updatedAt: "updatedAt";
        }>>;
        direction: import("zod").ZodOptional<import("zod").ZodEnum<{
            ASC: "ASC";
            DESC: "DESC";
        }>>;
    }, import("zod/v4/core").$strip>>>;
}, import("zod/v4/core").$strip>, undefined>, {
    total: number;
    page: number;
    perPage: number | false;
    hasMore: boolean;
    threads: {
        id: string;
        resourceId: string;
        createdAt: Date;
        updatedAt: Date;
        title?: string | undefined;
        metadata?: Record<string, unknown> | undefined;
    }[];
}, "json", import(".").RouteSchemas<undefined, import("zod").ZodObject<{
    perPage: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
    page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
    agentId: import("zod").ZodOptional<import("zod").ZodString>;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
    metadata: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>>;
    orderBy: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodObject<{
        field: import("zod").ZodOptional<import("zod").ZodEnum<{
            createdAt: "createdAt";
            updatedAt: "updatedAt";
        }>>;
        direction: import("zod").ZodOptional<import("zod").ZodEnum<{
            ASC: "ASC";
            DESC: "DESC";
        }>>;
    }, import("zod/v4/core").$strip>>>;
}, import("zod/v4/core").$strip> | import("zod").ZodObject<{
    perPage: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
    page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
    agentId: import("zod").ZodOptional<import("zod").ZodString>;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
    metadata: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>>;
    orderBy: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodObject<{
        field: import("zod").ZodOptional<import("zod").ZodEnum<{
            createdAt: "createdAt";
            updatedAt: "updatedAt";
        }>>;
        direction: import("zod").ZodOptional<import("zod").ZodEnum<{
            ASC: "ASC";
            DESC: "DESC";
        }>>;
    }, import("zod/v4/core").$strip>>>;
}, import("zod/v4/core").$strip>, undefined, import("zod").ZodObject<{
    total: import("zod").ZodNumber;
    page: import("zod").ZodNumber;
    perPage: import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodLiteral<false>]>;
    hasMore: import("zod").ZodBoolean;
    threads: import("zod").ZodArray<import("zod").ZodObject<{
        id: import("zod").ZodString;
        title: import("zod").ZodOptional<import("zod").ZodString>;
        resourceId: import("zod").ZodString;
        createdAt: import("zod").ZodDate;
        updatedAt: import("zod").ZodDate;
        metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
    }, import("zod/v4/core").$strip>>;
}, import("zod/v4/core").$strip>>, "GET", "/memory/threads">, import(".").ServerRoute<import(".").InferParams<import("zod").ZodObject<{
    threadId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    agentId: import("zod").ZodOptional<import("zod").ZodString>;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>, undefined>, {
    id: string;
    resourceId: string;
    createdAt: Date;
    updatedAt: Date;
    title?: string | undefined;
    metadata?: Record<string, unknown> | undefined;
}, "json", import(".").RouteSchemas<import("zod").ZodObject<{
    threadId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    agentId: import("zod").ZodOptional<import("zod").ZodString>;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>, undefined, import("zod").ZodObject<{
    id: import("zod").ZodString;
    title: import("zod").ZodOptional<import("zod").ZodString>;
    resourceId: import("zod").ZodString;
    createdAt: import("zod").ZodDate;
    updatedAt: import("zod").ZodDate;
    metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
}, import("zod/v4/core").$strip>>, "GET", "/memory/threads/:threadId">, import(".").ServerRoute<import(".").InferParams<import("zod").ZodObject<{
    threadId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    perPage: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
    page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
    agentId: import("zod").ZodOptional<import("zod").ZodString>;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
    orderBy: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodObject<{
        field: import("zod").ZodOptional<import("zod").ZodEnum<{
            createdAt: "createdAt";
        }>>;
        direction: import("zod").ZodOptional<import("zod").ZodEnum<{
            ASC: "ASC";
            DESC: "DESC";
        }>>;
    }, import("zod/v4/core").$strip>>>;
    include: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
        id: import("zod").ZodString;
        threadId: import("zod").ZodOptional<import("zod").ZodString>;
        withPreviousMessages: import("zod").ZodOptional<import("zod").ZodNumber>;
        withNextMessages: import("zod").ZodOptional<import("zod").ZodNumber>;
    }, import("zod/v4/core").$strip>>>>;
    filter: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodObject<{
        dateRange: import("zod").ZodOptional<import("zod").ZodObject<{
            start: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
            end: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
        }, import("zod/v4/core").$strip>>;
        roles: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
    }, import("zod/v4/core").$strip>>>;
}, import("zod/v4/core").$strip> | import("zod").ZodObject<{
    perPage: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
    page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
    agentId: import("zod").ZodOptional<import("zod").ZodString>;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
    orderBy: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodObject<{
        field: import("zod").ZodOptional<import("zod").ZodEnum<{
            createdAt: "createdAt";
        }>>;
        direction: import("zod").ZodOptional<import("zod").ZodEnum<{
            ASC: "ASC";
            DESC: "DESC";
        }>>;
    }, import("zod/v4/core").$strip>>>;
    include: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
        id: import("zod").ZodString;
        threadId: import("zod").ZodOptional<import("zod").ZodString>;
        withPreviousMessages: import("zod").ZodOptional<import("zod").ZodNumber>;
        withNextMessages: import("zod").ZodOptional<import("zod").ZodNumber>;
    }, import("zod/v4/core").$strip>>>>;
    filter: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodObject<{
        dateRange: import("zod").ZodOptional<import("zod").ZodObject<{
            start: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
            end: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
        }, import("zod/v4/core").$strip>>;
        roles: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
    }, import("zod/v4/core").$strip>>>;
}, import("zod/v4/core").$strip>, undefined>, {
    messages: any[];
    uiMessages: unknown;
}, "json", import(".").RouteSchemas<import("zod").ZodObject<{
    threadId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    perPage: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
    page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
    agentId: import("zod").ZodOptional<import("zod").ZodString>;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
    orderBy: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodObject<{
        field: import("zod").ZodOptional<import("zod").ZodEnum<{
            createdAt: "createdAt";
        }>>;
        direction: import("zod").ZodOptional<import("zod").ZodEnum<{
            ASC: "ASC";
            DESC: "DESC";
        }>>;
    }, import("zod/v4/core").$strip>>>;
    include: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
        id: import("zod").ZodString;
        threadId: import("zod").ZodOptional<import("zod").ZodString>;
        withPreviousMessages: import("zod").ZodOptional<import("zod").ZodNumber>;
        withNextMessages: import("zod").ZodOptional<import("zod").ZodNumber>;
    }, import("zod/v4/core").$strip>>>>;
    filter: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodObject<{
        dateRange: import("zod").ZodOptional<import("zod").ZodObject<{
            start: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
            end: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
        }, import("zod/v4/core").$strip>>;
        roles: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
    }, import("zod/v4/core").$strip>>>;
}, import("zod/v4/core").$strip> | import("zod").ZodObject<{
    perPage: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
    page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
    agentId: import("zod").ZodOptional<import("zod").ZodString>;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
    orderBy: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodObject<{
        field: import("zod").ZodOptional<import("zod").ZodEnum<{
            createdAt: "createdAt";
        }>>;
        direction: import("zod").ZodOptional<import("zod").ZodEnum<{
            ASC: "ASC";
            DESC: "DESC";
        }>>;
    }, import("zod/v4/core").$strip>>>;
    include: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
        id: import("zod").ZodString;
        threadId: import("zod").ZodOptional<import("zod").ZodString>;
        withPreviousMessages: import("zod").ZodOptional<import("zod").ZodNumber>;
        withNextMessages: import("zod").ZodOptional<import("zod").ZodNumber>;
    }, import("zod/v4/core").$strip>>>>;
    filter: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodObject<{
        dateRange: import("zod").ZodOptional<import("zod").ZodObject<{
            start: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
            end: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
        }, import("zod/v4/core").$strip>>;
        roles: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
    }, import("zod/v4/core").$strip>>>;
}, import("zod/v4/core").$strip>, undefined, import("zod").ZodObject<{
    messages: import("zod").ZodArray<import("zod").ZodAny>;
    uiMessages: import("zod").ZodUnknown;
}, import("zod/v4/core").$strip>>, "GET", "/memory/threads/:threadId/messages">, import(".").ServerRoute<import(".").InferParams<import("zod").ZodObject<{
    threadId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    agentId: import("zod").ZodString;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
    memoryConfig: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
}, import("zod/v4/core").$strip>, undefined>, {
    workingMemory: unknown;
    source: "thread" | "resource";
    workingMemoryTemplate: unknown;
    threadExists: boolean;
}, "json", import(".").RouteSchemas<import("zod").ZodObject<{
    threadId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    agentId: import("zod").ZodString;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
    memoryConfig: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
}, import("zod/v4/core").$strip>, undefined, import("zod").ZodObject<{
    workingMemory: import("zod").ZodUnknown;
    source: import("zod").ZodEnum<{
        thread: "thread";
        resource: "resource";
    }>;
    workingMemoryTemplate: import("zod").ZodUnknown;
    threadExists: import("zod").ZodBoolean;
}, import("zod/v4/core").$strip>>, "GET", "/memory/threads/:threadId/working-memory">, import(".").ServerRoute<import(".").InferParams<undefined, import("zod").ZodObject<{
    agentId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    messages: import("zod").ZodArray<import("zod").ZodAny>;
}, import("zod/v4/core").$strip>>, {
    messages: any[];
}, "json", import(".").RouteSchemas<undefined, import("zod").ZodObject<{
    agentId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    messages: import("zod").ZodArray<import("zod").ZodAny>;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    messages: import("zod").ZodArray<import("zod").ZodAny>;
}, import("zod/v4/core").$strip>>, "POST", "/memory/save-messages">, import(".").ServerRoute<import(".").InferParams<undefined, import("zod").ZodObject<{
    agentId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    resourceId: import("zod").ZodString;
    title: import("zod").ZodOptional<import("zod").ZodString>;
    metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
    threadId: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>>, {
    id: string;
    resourceId: string;
    createdAt: Date;
    updatedAt: Date;
    title?: string | undefined;
    metadata?: Record<string, unknown> | undefined;
}, "json", import(".").RouteSchemas<undefined, import("zod").ZodObject<{
    agentId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    resourceId: import("zod").ZodString;
    title: import("zod").ZodOptional<import("zod").ZodString>;
    metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
    threadId: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    id: import("zod").ZodString;
    title: import("zod").ZodOptional<import("zod").ZodString>;
    resourceId: import("zod").ZodString;
    createdAt: import("zod").ZodDate;
    updatedAt: import("zod").ZodDate;
    metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
}, import("zod/v4/core").$strip>>, "POST", "/memory/threads">, import(".").ServerRoute<import(".").InferParams<import("zod").ZodObject<{
    threadId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    agentId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    title: import("zod").ZodOptional<import("zod").ZodString>;
    metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>>, {
    id: string;
    resourceId: string;
    createdAt: Date;
    updatedAt: Date;
    title?: string | undefined;
    metadata?: Record<string, unknown> | undefined;
}, "json", import(".").RouteSchemas<import("zod").ZodObject<{
    threadId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    agentId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    title: import("zod").ZodOptional<import("zod").ZodString>;
    metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    id: import("zod").ZodString;
    title: import("zod").ZodOptional<import("zod").ZodString>;
    resourceId: import("zod").ZodString;
    createdAt: import("zod").ZodDate;
    updatedAt: import("zod").ZodDate;
    metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
}, import("zod/v4/core").$strip>>, "PATCH", "/memory/threads/:threadId">, import(".").ServerRoute<import(".").InferParams<import("zod").ZodObject<{
    threadId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    agentId: import("zod").ZodString;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>, undefined>, {
    result: string;
}, "json", import(".").RouteSchemas<import("zod").ZodObject<{
    threadId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    agentId: import("zod").ZodString;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>, undefined, import("zod").ZodObject<{
    result: import("zod").ZodString;
}, import("zod/v4/core").$strip>>, "DELETE", "/memory/threads/:threadId">, import(".").ServerRoute<import(".").InferParams<import("zod").ZodObject<{
    threadId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    agentId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    newThreadId: import("zod").ZodOptional<import("zod").ZodString>;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
    title: import("zod").ZodOptional<import("zod").ZodString>;
    metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
    options: import("zod").ZodOptional<import("zod").ZodObject<{
        messageLimit: import("zod").ZodOptional<import("zod").ZodNumber>;
        messageFilter: import("zod").ZodOptional<import("zod").ZodObject<{
            startDate: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
            endDate: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
            messageIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
        }, import("zod/v4/core").$strip>>;
    }, import("zod/v4/core").$strip>>;
}, import("zod/v4/core").$strip>>, {
    thread: {
        id: string;
        resourceId: string;
        createdAt: Date;
        updatedAt: Date;
        title?: string | undefined;
        metadata?: Record<string, unknown> | undefined;
    };
    clonedMessages: any[];
}, "json", import(".").RouteSchemas<import("zod").ZodObject<{
    threadId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    agentId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    newThreadId: import("zod").ZodOptional<import("zod").ZodString>;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
    title: import("zod").ZodOptional<import("zod").ZodString>;
    metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
    options: import("zod").ZodOptional<import("zod").ZodObject<{
        messageLimit: import("zod").ZodOptional<import("zod").ZodNumber>;
        messageFilter: import("zod").ZodOptional<import("zod").ZodObject<{
            startDate: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
            endDate: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
            messageIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
        }, import("zod/v4/core").$strip>>;
    }, import("zod/v4/core").$strip>>;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    thread: import("zod").ZodObject<{
        id: import("zod").ZodString;
        title: import("zod").ZodOptional<import("zod").ZodString>;
        resourceId: import("zod").ZodString;
        createdAt: import("zod").ZodDate;
        updatedAt: import("zod").ZodDate;
        metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
    }, import("zod/v4/core").$strip>;
    clonedMessages: import("zod").ZodArray<import("zod").ZodAny>;
}, import("zod/v4/core").$strip>>, "POST", "/memory/threads/:threadId/clone">, import(".").ServerRoute<import(".").InferParams<import("zod").ZodObject<{
    threadId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    agentId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    workingMemory: import("zod").ZodString;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
    memoryConfig: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
}, import("zod/v4/core").$strip>>, {
    success: boolean;
}, "json", import(".").RouteSchemas<import("zod").ZodObject<{
    threadId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    agentId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    workingMemory: import("zod").ZodString;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
    memoryConfig: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    success: import("zod").ZodBoolean;
}, import("zod/v4/core").$strip>>, "POST", "/memory/threads/:threadId/working-memory">, import(".").ServerRoute<import(".").InferParams<undefined, import("zod").ZodObject<{
    agentId: import("zod").ZodString;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    messageIds: import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString>, import("zod").ZodObject<{
        id: import("zod").ZodString;
    }, import("zod/v4/core").$strip>, import("zod").ZodArray<import("zod").ZodObject<{
        id: import("zod").ZodString;
    }, import("zod/v4/core").$strip>>]>;
}, import("zod/v4/core").$strip>>, {
    success: boolean;
    message: string;
}, "json", import(".").RouteSchemas<undefined, import("zod").ZodObject<{
    agentId: import("zod").ZodString;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    messageIds: import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString>, import("zod").ZodObject<{
        id: import("zod").ZodString;
    }, import("zod/v4/core").$strip>, import("zod").ZodArray<import("zod").ZodObject<{
        id: import("zod").ZodString;
    }, import("zod/v4/core").$strip>>]>;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    success: import("zod").ZodBoolean;
    message: import("zod").ZodString;
}, import("zod/v4/core").$strip>>, "POST", "/memory/messages/delete">, import(".").ServerRoute<{
    agentId: string;
    searchQuery: string;
    resourceId: string;
    limit: number;
    threadId?: string | undefined;
    memoryConfig?: Record<string, unknown> | undefined;
}, {
    results: unknown[];
    count: number;
    query: string;
    searchScope?: string | undefined;
    searchType?: string | undefined;
}, "json", import(".").RouteSchemas<undefined, import("zod").ZodObject<{
    agentId: import("zod").ZodString;
    searchQuery: import("zod").ZodString;
    resourceId: import("zod").ZodString;
    threadId: import("zod").ZodOptional<import("zod").ZodString>;
    limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
    memoryConfig: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
}, import("zod/v4/core").$strip>, undefined, import("zod").ZodObject<{
    results: import("zod").ZodArray<import("zod").ZodUnknown>;
    count: import("zod").ZodNumber;
    query: import("zod").ZodString;
    searchScope: import("zod").ZodOptional<import("zod").ZodString>;
    searchType: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>>, "GET", "/memory/search">, import(".").ServerRoute<{
    agentId: string;
}, {
    result: boolean;
    observationalMemory?: {
        enabled: boolean;
        hasRecord?: boolean | undefined;
        originType?: string | undefined;
        lastObservedAt?: Date | undefined;
        tokenCount?: number | undefined;
        observationTokenCount?: number | undefined;
        isObserving?: boolean | undefined;
        isReflecting?: boolean | undefined;
    } | undefined;
}, "json", import(".").RouteSchemas<undefined, import("zod").ZodObject<{
    agentId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, undefined, import("zod").ZodObject<{
    result: import("zod").ZodBoolean;
    observationalMemory: import("zod").ZodOptional<import("zod").ZodObject<{
        enabled: import("zod").ZodBoolean;
        hasRecord: import("zod").ZodOptional<import("zod").ZodBoolean>;
        originType: import("zod").ZodOptional<import("zod").ZodString>;
        lastObservedAt: import("zod").ZodOptional<import("zod").ZodDate>;
        tokenCount: import("zod").ZodOptional<import("zod").ZodNumber>;
        observationTokenCount: import("zod").ZodOptional<import("zod").ZodNumber>;
        isObserving: import("zod").ZodOptional<import("zod").ZodBoolean>;
        isReflecting: import("zod").ZodOptional<import("zod").ZodBoolean>;
    }, import("zod/v4/core").$strip>>;
}, import("zod/v4/core").$strip>>, "GET", "/memory/network/status">, import(".").ServerRoute<import(".").InferParams<undefined, import("zod").ZodObject<{
    perPage: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
    page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
    agentId: import("zod").ZodOptional<import("zod").ZodString>;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
    metadata: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>>;
    orderBy: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodObject<{
        field: import("zod").ZodOptional<import("zod").ZodEnum<{
            createdAt: "createdAt";
            updatedAt: "updatedAt";
        }>>;
        direction: import("zod").ZodOptional<import("zod").ZodEnum<{
            ASC: "ASC";
            DESC: "DESC";
        }>>;
    }, import("zod/v4/core").$strip>>>;
}, import("zod/v4/core").$strip> | import("zod").ZodObject<{
    perPage: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
    page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
    agentId: import("zod").ZodOptional<import("zod").ZodString>;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
    metadata: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>>;
    orderBy: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodObject<{
        field: import("zod").ZodOptional<import("zod").ZodEnum<{
            createdAt: "createdAt";
            updatedAt: "updatedAt";
        }>>;
        direction: import("zod").ZodOptional<import("zod").ZodEnum<{
            ASC: "ASC";
            DESC: "DESC";
        }>>;
    }, import("zod/v4/core").$strip>>>;
}, import("zod/v4/core").$strip>, undefined>, {
    total: number;
    page: number;
    perPage: number | false;
    hasMore: boolean;
    threads: {
        id: string;
        resourceId: string;
        createdAt: Date;
        updatedAt: Date;
        title?: string | undefined;
        metadata?: Record<string, unknown> | undefined;
    }[];
}, "json", import(".").RouteSchemas<undefined, import("zod").ZodObject<{
    perPage: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
    page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
    agentId: import("zod").ZodOptional<import("zod").ZodString>;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
    metadata: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>>;
    orderBy: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodObject<{
        field: import("zod").ZodOptional<import("zod").ZodEnum<{
            createdAt: "createdAt";
            updatedAt: "updatedAt";
        }>>;
        direction: import("zod").ZodOptional<import("zod").ZodEnum<{
            ASC: "ASC";
            DESC: "DESC";
        }>>;
    }, import("zod/v4/core").$strip>>>;
}, import("zod/v4/core").$strip> | import("zod").ZodObject<{
    perPage: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
    page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
    agentId: import("zod").ZodOptional<import("zod").ZodString>;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
    metadata: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>>;
    orderBy: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodObject<{
        field: import("zod").ZodOptional<import("zod").ZodEnum<{
            createdAt: "createdAt";
            updatedAt: "updatedAt";
        }>>;
        direction: import("zod").ZodOptional<import("zod").ZodEnum<{
            ASC: "ASC";
            DESC: "DESC";
        }>>;
    }, import("zod/v4/core").$strip>>>;
}, import("zod/v4/core").$strip>, undefined, import("zod").ZodObject<{
    total: import("zod").ZodNumber;
    page: import("zod").ZodNumber;
    perPage: import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodLiteral<false>]>;
    hasMore: import("zod").ZodBoolean;
    threads: import("zod").ZodArray<import("zod").ZodObject<{
        id: import("zod").ZodString;
        title: import("zod").ZodOptional<import("zod").ZodString>;
        resourceId: import("zod").ZodString;
        createdAt: import("zod").ZodDate;
        updatedAt: import("zod").ZodDate;
        metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
    }, import("zod/v4/core").$strip>>;
}, import("zod/v4/core").$strip>>, "GET", "/memory/network/threads">, import(".").ServerRoute<import(".").InferParams<import("zod").ZodObject<{
    threadId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    agentId: import("zod").ZodOptional<import("zod").ZodString>;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>, undefined>, {
    id: string;
    resourceId: string;
    createdAt: Date;
    updatedAt: Date;
    title?: string | undefined;
    metadata?: Record<string, unknown> | undefined;
}, "json", import(".").RouteSchemas<import("zod").ZodObject<{
    threadId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    agentId: import("zod").ZodOptional<import("zod").ZodString>;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>, undefined, import("zod").ZodObject<{
    id: import("zod").ZodString;
    title: import("zod").ZodOptional<import("zod").ZodString>;
    resourceId: import("zod").ZodString;
    createdAt: import("zod").ZodDate;
    updatedAt: import("zod").ZodDate;
    metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
}, import("zod/v4/core").$strip>>, "GET", "/memory/network/threads/:threadId">, import(".").ServerRoute<import(".").InferParams<import("zod").ZodObject<{
    threadId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    perPage: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
    page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
    agentId: import("zod").ZodOptional<import("zod").ZodString>;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
    orderBy: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodObject<{
        field: import("zod").ZodOptional<import("zod").ZodEnum<{
            createdAt: "createdAt";
        }>>;
        direction: import("zod").ZodOptional<import("zod").ZodEnum<{
            ASC: "ASC";
            DESC: "DESC";
        }>>;
    }, import("zod/v4/core").$strip>>>;
    include: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
        id: import("zod").ZodString;
        threadId: import("zod").ZodOptional<import("zod").ZodString>;
        withPreviousMessages: import("zod").ZodOptional<import("zod").ZodNumber>;
        withNextMessages: import("zod").ZodOptional<import("zod").ZodNumber>;
    }, import("zod/v4/core").$strip>>>>;
    filter: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodObject<{
        dateRange: import("zod").ZodOptional<import("zod").ZodObject<{
            start: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
            end: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
        }, import("zod/v4/core").$strip>>;
        roles: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
    }, import("zod/v4/core").$strip>>>;
}, import("zod/v4/core").$strip> | import("zod").ZodObject<{
    perPage: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
    page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
    agentId: import("zod").ZodOptional<import("zod").ZodString>;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
    orderBy: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodObject<{
        field: import("zod").ZodOptional<import("zod").ZodEnum<{
            createdAt: "createdAt";
        }>>;
        direction: import("zod").ZodOptional<import("zod").ZodEnum<{
            ASC: "ASC";
            DESC: "DESC";
        }>>;
    }, import("zod/v4/core").$strip>>>;
    include: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
        id: import("zod").ZodString;
        threadId: import("zod").ZodOptional<import("zod").ZodString>;
        withPreviousMessages: import("zod").ZodOptional<import("zod").ZodNumber>;
        withNextMessages: import("zod").ZodOptional<import("zod").ZodNumber>;
    }, import("zod/v4/core").$strip>>>>;
    filter: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodObject<{
        dateRange: import("zod").ZodOptional<import("zod").ZodObject<{
            start: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
            end: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
        }, import("zod/v4/core").$strip>>;
        roles: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
    }, import("zod/v4/core").$strip>>>;
}, import("zod/v4/core").$strip>, undefined>, {
    messages: any[];
    uiMessages: unknown;
}, "json", import(".").RouteSchemas<import("zod").ZodObject<{
    threadId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    perPage: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
    page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
    agentId: import("zod").ZodOptional<import("zod").ZodString>;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
    orderBy: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodObject<{
        field: import("zod").ZodOptional<import("zod").ZodEnum<{
            createdAt: "createdAt";
        }>>;
        direction: import("zod").ZodOptional<import("zod").ZodEnum<{
            ASC: "ASC";
            DESC: "DESC";
        }>>;
    }, import("zod/v4/core").$strip>>>;
    include: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
        id: import("zod").ZodString;
        threadId: import("zod").ZodOptional<import("zod").ZodString>;
        withPreviousMessages: import("zod").ZodOptional<import("zod").ZodNumber>;
        withNextMessages: import("zod").ZodOptional<import("zod").ZodNumber>;
    }, import("zod/v4/core").$strip>>>>;
    filter: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodObject<{
        dateRange: import("zod").ZodOptional<import("zod").ZodObject<{
            start: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
            end: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
        }, import("zod/v4/core").$strip>>;
        roles: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
    }, import("zod/v4/core").$strip>>>;
}, import("zod/v4/core").$strip> | import("zod").ZodObject<{
    perPage: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
    page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
    agentId: import("zod").ZodOptional<import("zod").ZodString>;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
    orderBy: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodObject<{
        field: import("zod").ZodOptional<import("zod").ZodEnum<{
            createdAt: "createdAt";
        }>>;
        direction: import("zod").ZodOptional<import("zod").ZodEnum<{
            ASC: "ASC";
            DESC: "DESC";
        }>>;
    }, import("zod/v4/core").$strip>>>;
    include: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
        id: import("zod").ZodString;
        threadId: import("zod").ZodOptional<import("zod").ZodString>;
        withPreviousMessages: import("zod").ZodOptional<import("zod").ZodNumber>;
        withNextMessages: import("zod").ZodOptional<import("zod").ZodNumber>;
    }, import("zod/v4/core").$strip>>>>;
    filter: import("zod").ZodPipe<import("zod").ZodTransform<any, unknown>, import("zod").ZodOptional<import("zod").ZodObject<{
        dateRange: import("zod").ZodOptional<import("zod").ZodObject<{
            start: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
            end: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
        }, import("zod/v4/core").$strip>>;
        roles: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
    }, import("zod/v4/core").$strip>>>;
}, import("zod/v4/core").$strip>, undefined, import("zod").ZodObject<{
    messages: import("zod").ZodArray<import("zod").ZodAny>;
    uiMessages: import("zod").ZodUnknown;
}, import("zod/v4/core").$strip>>, "GET", "/memory/network/threads/:threadId/messages">, import(".").ServerRoute<import(".").InferParams<undefined, import("zod").ZodObject<{
    agentId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    messages: import("zod").ZodArray<import("zod").ZodAny>;
}, import("zod/v4/core").$strip>>, {
    messages: any[];
}, "json", import(".").RouteSchemas<undefined, import("zod").ZodObject<{
    agentId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    messages: import("zod").ZodArray<import("zod").ZodAny>;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    messages: import("zod").ZodArray<import("zod").ZodAny>;
}, import("zod/v4/core").$strip>>, "POST", "/memory/network/save-messages">, import(".").ServerRoute<import(".").InferParams<undefined, import("zod").ZodObject<{
    agentId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    resourceId: import("zod").ZodString;
    title: import("zod").ZodOptional<import("zod").ZodString>;
    metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
    threadId: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>>, {
    id: string;
    resourceId: string;
    createdAt: Date;
    updatedAt: Date;
    title?: string | undefined;
    metadata?: Record<string, unknown> | undefined;
}, "json", import(".").RouteSchemas<undefined, import("zod").ZodObject<{
    agentId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    resourceId: import("zod").ZodString;
    title: import("zod").ZodOptional<import("zod").ZodString>;
    metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
    threadId: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    id: import("zod").ZodString;
    title: import("zod").ZodOptional<import("zod").ZodString>;
    resourceId: import("zod").ZodString;
    createdAt: import("zod").ZodDate;
    updatedAt: import("zod").ZodDate;
    metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
}, import("zod/v4/core").$strip>>, "POST", "/memory/network/threads">, import(".").ServerRoute<import(".").InferParams<import("zod").ZodObject<{
    threadId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    agentId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    title: import("zod").ZodOptional<import("zod").ZodString>;
    metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>>, {
    id: string;
    resourceId: string;
    createdAt: Date;
    updatedAt: Date;
    title?: string | undefined;
    metadata?: Record<string, unknown> | undefined;
}, "json", import(".").RouteSchemas<import("zod").ZodObject<{
    threadId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    agentId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    title: import("zod").ZodOptional<import("zod").ZodString>;
    metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    id: import("zod").ZodString;
    title: import("zod").ZodOptional<import("zod").ZodString>;
    resourceId: import("zod").ZodString;
    createdAt: import("zod").ZodDate;
    updatedAt: import("zod").ZodDate;
    metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
}, import("zod/v4/core").$strip>>, "PATCH", "/memory/network/threads/:threadId">, import(".").ServerRoute<import(".").InferParams<import("zod").ZodObject<{
    threadId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    agentId: import("zod").ZodString;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>, undefined>, {
    result: string;
}, "json", import(".").RouteSchemas<import("zod").ZodObject<{
    threadId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    agentId: import("zod").ZodString;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>, undefined, import("zod").ZodObject<{
    result: import("zod").ZodString;
}, import("zod/v4/core").$strip>>, "DELETE", "/memory/network/threads/:threadId">, import(".").ServerRoute<import(".").InferParams<undefined, import("zod").ZodObject<{
    agentId: import("zod").ZodString;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    messageIds: import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString>, import("zod").ZodObject<{
        id: import("zod").ZodString;
    }, import("zod/v4/core").$strip>, import("zod").ZodArray<import("zod").ZodObject<{
        id: import("zod").ZodString;
    }, import("zod/v4/core").$strip>>]>;
}, import("zod/v4/core").$strip>>, {
    success: boolean;
    message: string;
}, "json", import(".").RouteSchemas<undefined, import("zod").ZodObject<{
    agentId: import("zod").ZodString;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    messageIds: import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString>, import("zod").ZodObject<{
        id: import("zod").ZodString;
    }, import("zod/v4/core").$strip>, import("zod").ZodArray<import("zod").ZodObject<{
        id: import("zod").ZodString;
    }, import("zod/v4/core").$strip>>]>;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    success: import("zod").ZodBoolean;
    message: import("zod").ZodString;
}, import("zod/v4/core").$strip>>, "POST", "/memory/network/messages/delete">];
//# sourceMappingURL=memory.d.ts.map