import z from 'zod';
export declare const threadIdPathParams: z.ZodObject<{
    threadId: z.ZodString;
}, "strip", z.ZodTypeAny, {
    threadId: string;
}, {
    threadId: string;
}>;
/**
 * Common query parameter: required agent ID
 */
export declare const agentIdQuerySchema: z.ZodObject<{
    agentId: z.ZodString;
}, "strip", z.ZodTypeAny, {
    agentId: string;
}, {
    agentId: string;
}>;
/**
 * Common query parameter: optional agent ID
 * Used for read operations that can fall back to storage when agentId is not provided
 */
export declare const optionalAgentIdQuerySchema: z.ZodObject<{
    agentId: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    agentId?: string | undefined;
}, {
    agentId?: string | undefined;
}>;
/**
 * GET /memory/status
 */
export declare const getMemoryStatusQuerySchema: z.ZodObject<{
    agentId: z.ZodString;
}, "strip", z.ZodTypeAny, {
    agentId: string;
}, {
    agentId: string;
}>;
/**
 * GET /memory/config
 */
export declare const getMemoryConfigQuerySchema: z.ZodObject<{
    agentId: z.ZodString;
}, "strip", z.ZodTypeAny, {
    agentId: string;
}, {
    agentId: string;
}>;
/**
 * GET /memory/threads
 * agentId is optional - can use storage fallback when not provided
 * resourceId is optional - when omitted, returns all threads
 * metadata is optional - filters threads by metadata key-value pairs (AND logic)
 */
export declare const listThreadsQuerySchema: z.ZodObject<{
    perPage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
} & {
    agentId: z.ZodOptional<z.ZodString>;
    resourceId: z.ZodOptional<z.ZodString>;
    metadata: z.ZodEffects<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>, Record<string, any> | undefined, unknown>;
    orderBy: z.ZodEffects<z.ZodOptional<z.ZodObject<{
        field: z.ZodOptional<z.ZodEnum<["createdAt", "updatedAt"]>>;
        direction: z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>;
    }, "strip", z.ZodTypeAny, {
        field?: "createdAt" | "updatedAt" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    }, {
        field?: "createdAt" | "updatedAt" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    }>>, {
        field?: "createdAt" | "updatedAt" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    } | undefined, unknown>;
}, "strip", z.ZodTypeAny, {
    page: number;
    perPage: number;
    metadata?: Record<string, any> | undefined;
    resourceId?: string | undefined;
    agentId?: string | undefined;
    orderBy?: {
        field?: "createdAt" | "updatedAt" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    } | undefined;
}, {
    page?: number | undefined;
    perPage?: number | undefined;
    metadata?: unknown;
    resourceId?: string | undefined;
    agentId?: string | undefined;
    orderBy?: unknown;
}> | z.ZodObject<{
    perPage: z.ZodOptional<z.ZodNumber>;
    page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
} & {
    agentId: z.ZodOptional<z.ZodString>;
    resourceId: z.ZodOptional<z.ZodString>;
    metadata: z.ZodEffects<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>, Record<string, any> | undefined, unknown>;
    orderBy: z.ZodEffects<z.ZodOptional<z.ZodObject<{
        field: z.ZodOptional<z.ZodEnum<["createdAt", "updatedAt"]>>;
        direction: z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>;
    }, "strip", z.ZodTypeAny, {
        field?: "createdAt" | "updatedAt" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    }, {
        field?: "createdAt" | "updatedAt" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    }>>, {
        field?: "createdAt" | "updatedAt" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    } | undefined, unknown>;
}, "strip", z.ZodTypeAny, {
    page: number;
    perPage?: number | undefined;
    metadata?: Record<string, any> | undefined;
    resourceId?: string | undefined;
    agentId?: string | undefined;
    orderBy?: {
        field?: "createdAt" | "updatedAt" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    } | undefined;
}, {
    page?: number | undefined;
    perPage?: number | undefined;
    metadata?: unknown;
    resourceId?: string | undefined;
    agentId?: string | undefined;
    orderBy?: unknown;
}>;
/**
 * GET /memory/threads/:threadId
 * agentId is optional - can use storage fallback when not provided
 * resourceId is optional - used for ownership validation fallback when not set via middleware
 */
export declare const getThreadByIdQuerySchema: z.ZodObject<{
    agentId: z.ZodOptional<z.ZodString>;
} & {
    resourceId: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    resourceId?: string | undefined;
    agentId?: string | undefined;
}, {
    resourceId?: string | undefined;
    agentId?: string | undefined;
}>;
/**
 * GET /memory/threads/:threadId/messages
 * agentId is optional - can use storage fallback when not provided
 */
export declare const listMessagesQuerySchema: z.ZodObject<{
    perPage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
} & {
    agentId: z.ZodOptional<z.ZodString>;
    resourceId: z.ZodOptional<z.ZodString>;
    orderBy: z.ZodEffects<z.ZodOptional<z.ZodObject<{
        field: z.ZodOptional<z.ZodEnum<["createdAt"]>>;
        direction: z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>;
    }, "strip", z.ZodTypeAny, {
        field?: "createdAt" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    }, {
        field?: "createdAt" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    }>>, {
        field?: "createdAt" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    } | undefined, unknown>;
    include: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        threadId: z.ZodOptional<z.ZodString>;
        withPreviousMessages: z.ZodOptional<z.ZodNumber>;
        withNextMessages: z.ZodOptional<z.ZodNumber>;
    }, "strip", z.ZodTypeAny, {
        id: string;
        threadId?: string | undefined;
        withPreviousMessages?: number | undefined;
        withNextMessages?: number | undefined;
    }, {
        id: string;
        threadId?: string | undefined;
        withPreviousMessages?: number | undefined;
        withNextMessages?: number | undefined;
    }>, "many">>, {
        id: string;
        threadId?: string | undefined;
        withPreviousMessages?: number | undefined;
        withNextMessages?: number | undefined;
    }[] | undefined, unknown>;
    filter: z.ZodEffects<z.ZodOptional<z.ZodObject<{
        dateRange: z.ZodOptional<z.ZodObject<{
            start: z.ZodOptional<z.ZodDate>;
            end: z.ZodOptional<z.ZodDate>;
        }, "strip", z.ZodTypeAny, {
            start?: Date | undefined;
            end?: Date | undefined;
        }, {
            start?: Date | undefined;
            end?: Date | undefined;
        }>>;
        roles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    }, "strip", z.ZodTypeAny, {
        roles?: string[] | undefined;
        dateRange?: {
            start?: Date | undefined;
            end?: Date | undefined;
        } | undefined;
    }, {
        roles?: string[] | undefined;
        dateRange?: {
            start?: Date | undefined;
            end?: Date | undefined;
        } | undefined;
    }>>, {
        roles?: string[] | undefined;
        dateRange?: {
            start?: Date | undefined;
            end?: Date | undefined;
        } | undefined;
    } | undefined, unknown>;
}, "strip", z.ZodTypeAny, {
    page: number;
    perPage: number;
    filter?: {
        roles?: string[] | undefined;
        dateRange?: {
            start?: Date | undefined;
            end?: Date | undefined;
        } | undefined;
    } | undefined;
    resourceId?: string | undefined;
    agentId?: string | undefined;
    orderBy?: {
        field?: "createdAt" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    } | undefined;
    include?: {
        id: string;
        threadId?: string | undefined;
        withPreviousMessages?: number | undefined;
        withNextMessages?: number | undefined;
    }[] | undefined;
}, {
    filter?: unknown;
    page?: number | undefined;
    perPage?: number | undefined;
    resourceId?: string | undefined;
    agentId?: string | undefined;
    orderBy?: unknown;
    include?: unknown;
}> | z.ZodObject<{
    perPage: z.ZodOptional<z.ZodNumber>;
    page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
} & {
    agentId: z.ZodOptional<z.ZodString>;
    resourceId: z.ZodOptional<z.ZodString>;
    orderBy: z.ZodEffects<z.ZodOptional<z.ZodObject<{
        field: z.ZodOptional<z.ZodEnum<["createdAt"]>>;
        direction: z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>;
    }, "strip", z.ZodTypeAny, {
        field?: "createdAt" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    }, {
        field?: "createdAt" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    }>>, {
        field?: "createdAt" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    } | undefined, unknown>;
    include: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        threadId: z.ZodOptional<z.ZodString>;
        withPreviousMessages: z.ZodOptional<z.ZodNumber>;
        withNextMessages: z.ZodOptional<z.ZodNumber>;
    }, "strip", z.ZodTypeAny, {
        id: string;
        threadId?: string | undefined;
        withPreviousMessages?: number | undefined;
        withNextMessages?: number | undefined;
    }, {
        id: string;
        threadId?: string | undefined;
        withPreviousMessages?: number | undefined;
        withNextMessages?: number | undefined;
    }>, "many">>, {
        id: string;
        threadId?: string | undefined;
        withPreviousMessages?: number | undefined;
        withNextMessages?: number | undefined;
    }[] | undefined, unknown>;
    filter: z.ZodEffects<z.ZodOptional<z.ZodObject<{
        dateRange: z.ZodOptional<z.ZodObject<{
            start: z.ZodOptional<z.ZodDate>;
            end: z.ZodOptional<z.ZodDate>;
        }, "strip", z.ZodTypeAny, {
            start?: Date | undefined;
            end?: Date | undefined;
        }, {
            start?: Date | undefined;
            end?: Date | undefined;
        }>>;
        roles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    }, "strip", z.ZodTypeAny, {
        roles?: string[] | undefined;
        dateRange?: {
            start?: Date | undefined;
            end?: Date | undefined;
        } | undefined;
    }, {
        roles?: string[] | undefined;
        dateRange?: {
            start?: Date | undefined;
            end?: Date | undefined;
        } | undefined;
    }>>, {
        roles?: string[] | undefined;
        dateRange?: {
            start?: Date | undefined;
            end?: Date | undefined;
        } | undefined;
    } | undefined, unknown>;
}, "strip", z.ZodTypeAny, {
    page: number;
    filter?: {
        roles?: string[] | undefined;
        dateRange?: {
            start?: Date | undefined;
            end?: Date | undefined;
        } | undefined;
    } | undefined;
    perPage?: number | undefined;
    resourceId?: string | undefined;
    agentId?: string | undefined;
    orderBy?: {
        field?: "createdAt" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    } | undefined;
    include?: {
        id: string;
        threadId?: string | undefined;
        withPreviousMessages?: number | undefined;
        withNextMessages?: number | undefined;
    }[] | undefined;
}, {
    filter?: unknown;
    page?: number | undefined;
    perPage?: number | undefined;
    resourceId?: string | undefined;
    agentId?: string | undefined;
    orderBy?: unknown;
    include?: unknown;
}>;
/**
 * GET /memory/threads/:threadId/working-memory
 */
export declare const getWorkingMemoryQuerySchema: z.ZodObject<{
    agentId: z.ZodString;
    resourceId: z.ZodOptional<z.ZodString>;
    memoryConfig: z.ZodEffects<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>, Record<string, unknown> | undefined, unknown>;
}, "strip", z.ZodTypeAny, {
    agentId: string;
    resourceId?: string | undefined;
    memoryConfig?: Record<string, unknown> | undefined;
}, {
    agentId: string;
    resourceId?: string | undefined;
    memoryConfig?: unknown;
}>;
/**
 * DELETE /memory/threads/:threadId
 * agentId is required
 * resourceId is optional - used for ownership validation fallback when not set via middleware
 */
export declare const deleteThreadQuerySchema: z.ZodObject<{
    agentId: z.ZodString;
} & {
    resourceId: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    agentId: string;
    resourceId?: string | undefined;
}, {
    agentId: string;
    resourceId?: string | undefined;
}>;
/**
 * POST /memory/messages/delete
 * agentId is required
 * resourceId is optional - used for ownership validation fallback when not set via middleware
 */
export declare const deleteMessagesQuerySchema: z.ZodObject<{
    agentId: z.ZodString;
} & {
    resourceId: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    agentId: string;
    resourceId?: string | undefined;
}, {
    agentId: string;
    resourceId?: string | undefined;
}>;
/**
 * GET /memory/network/status
 */
export declare const getMemoryStatusNetworkQuerySchema: z.ZodObject<{
    agentId: z.ZodString;
}, "strip", z.ZodTypeAny, {
    agentId: string;
}, {
    agentId: string;
}>;
/**
 * GET /memory/network/threads
 * agentId is optional - can use storage fallback when not provided
 * resourceId is optional - when omitted, returns all threads
 * metadata is optional - filters threads by metadata key-value pairs (AND logic)
 */
export declare const listThreadsNetworkQuerySchema: z.ZodObject<{
    perPage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
} & {
    agentId: z.ZodOptional<z.ZodString>;
    resourceId: z.ZodOptional<z.ZodString>;
    metadata: z.ZodEffects<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>, Record<string, any> | undefined, unknown>;
    orderBy: z.ZodEffects<z.ZodOptional<z.ZodObject<{
        field: z.ZodOptional<z.ZodEnum<["createdAt", "updatedAt"]>>;
        direction: z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>;
    }, "strip", z.ZodTypeAny, {
        field?: "createdAt" | "updatedAt" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    }, {
        field?: "createdAt" | "updatedAt" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    }>>, {
        field?: "createdAt" | "updatedAt" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    } | undefined, unknown>;
}, "strip", z.ZodTypeAny, {
    page: number;
    perPage: number;
    metadata?: Record<string, any> | undefined;
    resourceId?: string | undefined;
    agentId?: string | undefined;
    orderBy?: {
        field?: "createdAt" | "updatedAt" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    } | undefined;
}, {
    page?: number | undefined;
    perPage?: number | undefined;
    metadata?: unknown;
    resourceId?: string | undefined;
    agentId?: string | undefined;
    orderBy?: unknown;
}> | z.ZodObject<{
    perPage: z.ZodOptional<z.ZodNumber>;
    page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
} & {
    agentId: z.ZodOptional<z.ZodString>;
    resourceId: z.ZodOptional<z.ZodString>;
    metadata: z.ZodEffects<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>, Record<string, any> | undefined, unknown>;
    orderBy: z.ZodEffects<z.ZodOptional<z.ZodObject<{
        field: z.ZodOptional<z.ZodEnum<["createdAt", "updatedAt"]>>;
        direction: z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>;
    }, "strip", z.ZodTypeAny, {
        field?: "createdAt" | "updatedAt" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    }, {
        field?: "createdAt" | "updatedAt" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    }>>, {
        field?: "createdAt" | "updatedAt" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    } | undefined, unknown>;
}, "strip", z.ZodTypeAny, {
    page: number;
    perPage?: number | undefined;
    metadata?: Record<string, any> | undefined;
    resourceId?: string | undefined;
    agentId?: string | undefined;
    orderBy?: {
        field?: "createdAt" | "updatedAt" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    } | undefined;
}, {
    page?: number | undefined;
    perPage?: number | undefined;
    metadata?: unknown;
    resourceId?: string | undefined;
    agentId?: string | undefined;
    orderBy?: unknown;
}>;
/**
 * GET /memory/network/threads/:threadId
 * agentId is optional - can use storage fallback when not provided
 * resourceId is optional - used for ownership validation fallback when not set via middleware
 */
export declare const getThreadByIdNetworkQuerySchema: z.ZodObject<{
    agentId: z.ZodOptional<z.ZodString>;
} & {
    resourceId: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    resourceId?: string | undefined;
    agentId?: string | undefined;
}, {
    resourceId?: string | undefined;
    agentId?: string | undefined;
}>;
/**
 * GET /memory/network/threads/:threadId/messages
 * agentId is optional - can use storage fallback when not provided
 */
export declare const listMessagesNetworkQuerySchema: z.ZodObject<{
    perPage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
} & {
    agentId: z.ZodOptional<z.ZodString>;
    resourceId: z.ZodOptional<z.ZodString>;
    orderBy: z.ZodEffects<z.ZodOptional<z.ZodObject<{
        field: z.ZodOptional<z.ZodEnum<["createdAt"]>>;
        direction: z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>;
    }, "strip", z.ZodTypeAny, {
        field?: "createdAt" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    }, {
        field?: "createdAt" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    }>>, {
        field?: "createdAt" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    } | undefined, unknown>;
    include: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        threadId: z.ZodOptional<z.ZodString>;
        withPreviousMessages: z.ZodOptional<z.ZodNumber>;
        withNextMessages: z.ZodOptional<z.ZodNumber>;
    }, "strip", z.ZodTypeAny, {
        id: string;
        threadId?: string | undefined;
        withPreviousMessages?: number | undefined;
        withNextMessages?: number | undefined;
    }, {
        id: string;
        threadId?: string | undefined;
        withPreviousMessages?: number | undefined;
        withNextMessages?: number | undefined;
    }>, "many">>, {
        id: string;
        threadId?: string | undefined;
        withPreviousMessages?: number | undefined;
        withNextMessages?: number | undefined;
    }[] | undefined, unknown>;
    filter: z.ZodEffects<z.ZodOptional<z.ZodObject<{
        dateRange: z.ZodOptional<z.ZodObject<{
            start: z.ZodOptional<z.ZodDate>;
            end: z.ZodOptional<z.ZodDate>;
        }, "strip", z.ZodTypeAny, {
            start?: Date | undefined;
            end?: Date | undefined;
        }, {
            start?: Date | undefined;
            end?: Date | undefined;
        }>>;
        roles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    }, "strip", z.ZodTypeAny, {
        roles?: string[] | undefined;
        dateRange?: {
            start?: Date | undefined;
            end?: Date | undefined;
        } | undefined;
    }, {
        roles?: string[] | undefined;
        dateRange?: {
            start?: Date | undefined;
            end?: Date | undefined;
        } | undefined;
    }>>, {
        roles?: string[] | undefined;
        dateRange?: {
            start?: Date | undefined;
            end?: Date | undefined;
        } | undefined;
    } | undefined, unknown>;
}, "strip", z.ZodTypeAny, {
    page: number;
    perPage: number;
    filter?: {
        roles?: string[] | undefined;
        dateRange?: {
            start?: Date | undefined;
            end?: Date | undefined;
        } | undefined;
    } | undefined;
    resourceId?: string | undefined;
    agentId?: string | undefined;
    orderBy?: {
        field?: "createdAt" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    } | undefined;
    include?: {
        id: string;
        threadId?: string | undefined;
        withPreviousMessages?: number | undefined;
        withNextMessages?: number | undefined;
    }[] | undefined;
}, {
    filter?: unknown;
    page?: number | undefined;
    perPage?: number | undefined;
    resourceId?: string | undefined;
    agentId?: string | undefined;
    orderBy?: unknown;
    include?: unknown;
}> | z.ZodObject<{
    perPage: z.ZodOptional<z.ZodNumber>;
    page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
} & {
    agentId: z.ZodOptional<z.ZodString>;
    resourceId: z.ZodOptional<z.ZodString>;
    orderBy: z.ZodEffects<z.ZodOptional<z.ZodObject<{
        field: z.ZodOptional<z.ZodEnum<["createdAt"]>>;
        direction: z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>;
    }, "strip", z.ZodTypeAny, {
        field?: "createdAt" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    }, {
        field?: "createdAt" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    }>>, {
        field?: "createdAt" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    } | undefined, unknown>;
    include: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        threadId: z.ZodOptional<z.ZodString>;
        withPreviousMessages: z.ZodOptional<z.ZodNumber>;
        withNextMessages: z.ZodOptional<z.ZodNumber>;
    }, "strip", z.ZodTypeAny, {
        id: string;
        threadId?: string | undefined;
        withPreviousMessages?: number | undefined;
        withNextMessages?: number | undefined;
    }, {
        id: string;
        threadId?: string | undefined;
        withPreviousMessages?: number | undefined;
        withNextMessages?: number | undefined;
    }>, "many">>, {
        id: string;
        threadId?: string | undefined;
        withPreviousMessages?: number | undefined;
        withNextMessages?: number | undefined;
    }[] | undefined, unknown>;
    filter: z.ZodEffects<z.ZodOptional<z.ZodObject<{
        dateRange: z.ZodOptional<z.ZodObject<{
            start: z.ZodOptional<z.ZodDate>;
            end: z.ZodOptional<z.ZodDate>;
        }, "strip", z.ZodTypeAny, {
            start?: Date | undefined;
            end?: Date | undefined;
        }, {
            start?: Date | undefined;
            end?: Date | undefined;
        }>>;
        roles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    }, "strip", z.ZodTypeAny, {
        roles?: string[] | undefined;
        dateRange?: {
            start?: Date | undefined;
            end?: Date | undefined;
        } | undefined;
    }, {
        roles?: string[] | undefined;
        dateRange?: {
            start?: Date | undefined;
            end?: Date | undefined;
        } | undefined;
    }>>, {
        roles?: string[] | undefined;
        dateRange?: {
            start?: Date | undefined;
            end?: Date | undefined;
        } | undefined;
    } | undefined, unknown>;
}, "strip", z.ZodTypeAny, {
    page: number;
    filter?: {
        roles?: string[] | undefined;
        dateRange?: {
            start?: Date | undefined;
            end?: Date | undefined;
        } | undefined;
    } | undefined;
    perPage?: number | undefined;
    resourceId?: string | undefined;
    agentId?: string | undefined;
    orderBy?: {
        field?: "createdAt" | undefined;
        direction?: "ASC" | "DESC" | undefined;
    } | undefined;
    include?: {
        id: string;
        threadId?: string | undefined;
        withPreviousMessages?: number | undefined;
        withNextMessages?: number | undefined;
    }[] | undefined;
}, {
    filter?: unknown;
    page?: number | undefined;
    perPage?: number | undefined;
    resourceId?: string | undefined;
    agentId?: string | undefined;
    orderBy?: unknown;
    include?: unknown;
}>;
/**
 * POST /memory/network/save-messages
 */
export declare const saveMessagesNetworkQuerySchema: z.ZodObject<{
    agentId: z.ZodString;
}, "strip", z.ZodTypeAny, {
    agentId: string;
}, {
    agentId: string;
}>;
/**
 * POST /memory/network/threads
 */
export declare const createThreadNetworkQuerySchema: z.ZodObject<{
    agentId: z.ZodString;
}, "strip", z.ZodTypeAny, {
    agentId: string;
}, {
    agentId: string;
}>;
/**
 * PATCH /memory/network/threads/:threadId
 */
export declare const updateThreadNetworkQuerySchema: z.ZodObject<{
    agentId: z.ZodString;
}, "strip", z.ZodTypeAny, {
    agentId: string;
}, {
    agentId: string;
}>;
/**
 * DELETE /memory/network/threads/:threadId
 * resourceId is optional - used for ownership validation fallback when not set via middleware
 */
export declare const deleteThreadNetworkQuerySchema: z.ZodObject<{
    agentId: z.ZodString;
} & {
    resourceId: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    agentId: string;
    resourceId?: string | undefined;
}, {
    agentId: string;
    resourceId?: string | undefined;
}>;
/**
 * POST /memory/network/messages/delete
 * resourceId is optional - used for ownership validation fallback when not set via middleware
 */
export declare const deleteMessagesNetworkQuerySchema: z.ZodObject<{
    agentId: z.ZodString;
} & {
    resourceId: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    agentId: string;
    resourceId?: string | undefined;
}, {
    agentId: string;
    resourceId?: string | undefined;
}>;
/**
 * Response for GET /memory/status
 */
export declare const memoryStatusResponseSchema: z.ZodObject<{
    result: z.ZodBoolean;
}, "strip", z.ZodTypeAny, {
    result: boolean;
}, {
    result: boolean;
}>;
/**
 * Response for GET /memory/config
 * MemoryConfig is complex with many optional fields - using passthrough
 */
export declare const memoryConfigResponseSchema: z.ZodObject<{
    config: z.ZodObject<{
        lastMessages: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<false>]>>;
        semanticRecall: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodAny]>>;
        workingMemory: z.ZodOptional<z.ZodAny>;
    }, "strip", z.ZodTypeAny, {
        lastMessages?: number | false | undefined;
        semanticRecall?: any;
        workingMemory?: any;
    }, {
        lastMessages?: number | false | undefined;
        semanticRecall?: any;
        workingMemory?: any;
    }>;
}, "strip", z.ZodTypeAny, {
    config: {
        lastMessages?: number | false | undefined;
        semanticRecall?: any;
        workingMemory?: any;
    };
}, {
    config: {
        lastMessages?: number | false | undefined;
        semanticRecall?: any;
        workingMemory?: any;
    };
}>;
/**
 * Response for GET /memory/threads
 */
export declare const listThreadsResponseSchema: z.ZodObject<{
    total: z.ZodNumber;
    page: z.ZodNumber;
    perPage: z.ZodUnion<[z.ZodNumber, z.ZodLiteral<false>]>;
    hasMore: z.ZodBoolean;
} & {
    threads: z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        title: z.ZodOptional<z.ZodString>;
        resourceId: z.ZodString;
        createdAt: z.ZodDate;
        updatedAt: z.ZodDate;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    }, "strip", z.ZodTypeAny, {
        id: string;
        createdAt: Date;
        updatedAt: Date;
        resourceId: string;
        metadata?: Record<string, unknown> | undefined;
        title?: string | undefined;
    }, {
        id: string;
        createdAt: Date;
        updatedAt: Date;
        resourceId: string;
        metadata?: Record<string, unknown> | undefined;
        title?: string | undefined;
    }>, "many">;
}, "strip", z.ZodTypeAny, {
    total: number;
    page: number;
    perPage: number | false;
    hasMore: boolean;
    threads: {
        id: string;
        createdAt: Date;
        updatedAt: Date;
        resourceId: string;
        metadata?: Record<string, unknown> | undefined;
        title?: string | undefined;
    }[];
}, {
    total: number;
    page: number;
    perPage: number | false;
    hasMore: boolean;
    threads: {
        id: string;
        createdAt: Date;
        updatedAt: Date;
        resourceId: string;
        metadata?: Record<string, unknown> | undefined;
        title?: string | undefined;
    }[];
}>;
/**
 * Response for GET /memory/threads/:threadId
 */
export declare const getThreadByIdResponseSchema: z.ZodObject<{
    id: z.ZodString;
    title: z.ZodOptional<z.ZodString>;
    resourceId: z.ZodString;
    createdAt: z.ZodDate;
    updatedAt: z.ZodDate;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
}, "strip", z.ZodTypeAny, {
    id: string;
    createdAt: Date;
    updatedAt: Date;
    resourceId: string;
    metadata?: Record<string, unknown> | undefined;
    title?: string | undefined;
}, {
    id: string;
    createdAt: Date;
    updatedAt: Date;
    resourceId: string;
    metadata?: Record<string, unknown> | undefined;
    title?: string | undefined;
}>;
/**
 * Response for GET /memory/threads/:threadId/messages
 */
export declare const listMessagesResponseSchema: z.ZodObject<{
    messages: z.ZodArray<z.ZodAny, "many">;
    uiMessages: z.ZodUnknown;
}, "strip", z.ZodTypeAny, {
    messages: any[];
    uiMessages?: unknown;
}, {
    messages: any[];
    uiMessages?: unknown;
}>;
/**
 * Response for GET /memory/threads/:threadId/working-memory
 */
export declare const getWorkingMemoryResponseSchema: z.ZodObject<{
    workingMemory: z.ZodUnknown;
    source: z.ZodEnum<["thread", "resource"]>;
    workingMemoryTemplate: z.ZodUnknown;
    threadExists: z.ZodBoolean;
}, "strip", z.ZodTypeAny, {
    source: "thread" | "resource";
    threadExists: boolean;
    workingMemory?: unknown;
    workingMemoryTemplate?: unknown;
}, {
    source: "thread" | "resource";
    threadExists: boolean;
    workingMemory?: unknown;
    workingMemoryTemplate?: unknown;
}>;
/**
 * Body schema for POST /memory/messages
 */
export declare const saveMessagesBodySchema: z.ZodObject<{
    messages: z.ZodArray<z.ZodAny, "many">;
}, "strip", z.ZodTypeAny, {
    messages: any[];
}, {
    messages: any[];
}>;
/**
 * Body schema for POST /memory/threads
 */
export declare const createThreadBodySchema: z.ZodObject<{
    resourceId: z.ZodString;
    title: z.ZodOptional<z.ZodString>;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    threadId: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    resourceId: string;
    metadata?: Record<string, unknown> | undefined;
    threadId?: string | undefined;
    title?: string | undefined;
}, {
    resourceId: string;
    metadata?: Record<string, unknown> | undefined;
    threadId?: string | undefined;
    title?: string | undefined;
}>;
/**
 * Body schema for PUT /memory/threads/:threadId
 */
export declare const updateThreadBodySchema: z.ZodObject<{
    title: z.ZodOptional<z.ZodString>;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    resourceId: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    metadata?: Record<string, unknown> | undefined;
    resourceId?: string | undefined;
    title?: string | undefined;
}, {
    metadata?: Record<string, unknown> | undefined;
    resourceId?: string | undefined;
    title?: string | undefined;
}>;
/**
 * Body schema for PUT /memory/threads/:threadId/working-memory
 */
export declare const updateWorkingMemoryBodySchema: z.ZodObject<{
    workingMemory: z.ZodString;
    resourceId: z.ZodOptional<z.ZodString>;
    memoryConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
}, "strip", z.ZodTypeAny, {
    workingMemory: string;
    resourceId?: string | undefined;
    memoryConfig?: Record<string, unknown> | undefined;
}, {
    workingMemory: string;
    resourceId?: string | undefined;
    memoryConfig?: Record<string, unknown> | undefined;
}>;
/**
 * Body schema for POST /memory/messages/delete
 * Accepts: string | string[] | { id: string } | { id: string }[]
 */
export declare const deleteMessagesBodySchema: z.ZodObject<{
    messageIds: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodObject<{
        id: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        id: string;
    }, {
        id: string;
    }>, z.ZodArray<z.ZodObject<{
        id: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        id: string;
    }, {
        id: string;
    }>, "many">]>;
}, "strip", z.ZodTypeAny, {
    messageIds: string | string[] | {
        id: string;
    } | {
        id: string;
    }[];
}, {
    messageIds: string | string[] | {
        id: string;
    } | {
        id: string;
    }[];
}>;
/**
 * Query schema for GET /memory/search
 */
export declare const searchMemoryQuerySchema: z.ZodObject<{
    agentId: z.ZodString;
    searchQuery: z.ZodString;
    resourceId: z.ZodString;
    threadId: z.ZodOptional<z.ZodString>;
    limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    memoryConfig: z.ZodEffects<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>, Record<string, unknown> | undefined, unknown>;
}, "strip", z.ZodTypeAny, {
    limit: number;
    resourceId: string;
    agentId: string;
    searchQuery: string;
    threadId?: string | undefined;
    memoryConfig?: Record<string, unknown> | undefined;
}, {
    resourceId: string;
    agentId: string;
    searchQuery: string;
    limit?: number | undefined;
    threadId?: string | undefined;
    memoryConfig?: unknown;
}>;
/**
 * Response schemas
 */
export declare const saveMessagesResponseSchema: z.ZodObject<{
    messages: z.ZodArray<z.ZodAny, "many">;
}, "strip", z.ZodTypeAny, {
    messages: any[];
}, {
    messages: any[];
}>;
export declare const deleteThreadResponseSchema: z.ZodObject<{
    result: z.ZodString;
}, "strip", z.ZodTypeAny, {
    result: string;
}, {
    result: string;
}>;
export declare const updateWorkingMemoryResponseSchema: z.ZodObject<{
    success: z.ZodBoolean;
}, "strip", z.ZodTypeAny, {
    success: boolean;
}, {
    success: boolean;
}>;
export declare const deleteMessagesResponseSchema: z.ZodObject<{
    success: z.ZodBoolean;
} & {
    message: z.ZodString;
}, "strip", z.ZodTypeAny, {
    message: string;
    success: boolean;
}, {
    message: string;
    success: boolean;
}>;
export declare const searchMemoryResponseSchema: z.ZodObject<{
    results: z.ZodArray<z.ZodUnknown, "many">;
    count: z.ZodNumber;
    query: z.ZodString;
    searchScope: z.ZodOptional<z.ZodString>;
    searchType: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    query: string;
    results: unknown[];
    count: number;
    searchType?: string | undefined;
    searchScope?: string | undefined;
}, {
    query: string;
    results: unknown[];
    count: number;
    searchType?: string | undefined;
    searchScope?: string | undefined;
}>;
/**
 * Body schema for POST /memory/threads/:threadId/clone
 */
export declare const cloneThreadBodySchema: z.ZodObject<{
    newThreadId: z.ZodOptional<z.ZodString>;
    resourceId: z.ZodOptional<z.ZodString>;
    title: z.ZodOptional<z.ZodString>;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    options: z.ZodOptional<z.ZodObject<{
        messageLimit: z.ZodOptional<z.ZodNumber>;
        messageFilter: z.ZodOptional<z.ZodObject<{
            startDate: z.ZodOptional<z.ZodDate>;
            endDate: z.ZodOptional<z.ZodDate>;
            messageIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        }, "strip", z.ZodTypeAny, {
            messageIds?: string[] | undefined;
            startDate?: Date | undefined;
            endDate?: Date | undefined;
        }, {
            messageIds?: string[] | undefined;
            startDate?: Date | undefined;
            endDate?: Date | undefined;
        }>>;
    }, "strip", z.ZodTypeAny, {
        messageLimit?: number | undefined;
        messageFilter?: {
            messageIds?: string[] | undefined;
            startDate?: Date | undefined;
            endDate?: Date | undefined;
        } | undefined;
    }, {
        messageLimit?: number | undefined;
        messageFilter?: {
            messageIds?: string[] | undefined;
            startDate?: Date | undefined;
            endDate?: Date | undefined;
        } | undefined;
    }>>;
}, "strip", z.ZodTypeAny, {
    options?: {
        messageLimit?: number | undefined;
        messageFilter?: {
            messageIds?: string[] | undefined;
            startDate?: Date | undefined;
            endDate?: Date | undefined;
        } | undefined;
    } | undefined;
    metadata?: Record<string, unknown> | undefined;
    resourceId?: string | undefined;
    title?: string | undefined;
    newThreadId?: string | undefined;
}, {
    options?: {
        messageLimit?: number | undefined;
        messageFilter?: {
            messageIds?: string[] | undefined;
            startDate?: Date | undefined;
            endDate?: Date | undefined;
        } | undefined;
    } | undefined;
    metadata?: Record<string, unknown> | undefined;
    resourceId?: string | undefined;
    title?: string | undefined;
    newThreadId?: string | undefined;
}>;
/**
 * Response schema for POST /memory/threads/:threadId/clone
 */
export declare const cloneThreadResponseSchema: z.ZodObject<{
    thread: z.ZodObject<{
        id: z.ZodString;
        title: z.ZodOptional<z.ZodString>;
        resourceId: z.ZodString;
        createdAt: z.ZodDate;
        updatedAt: z.ZodDate;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    }, "strip", z.ZodTypeAny, {
        id: string;
        createdAt: Date;
        updatedAt: Date;
        resourceId: string;
        metadata?: Record<string, unknown> | undefined;
        title?: string | undefined;
    }, {
        id: string;
        createdAt: Date;
        updatedAt: Date;
        resourceId: string;
        metadata?: Record<string, unknown> | undefined;
        title?: string | undefined;
    }>;
    clonedMessages: z.ZodArray<z.ZodAny, "many">;
}, "strip", z.ZodTypeAny, {
    thread: {
        id: string;
        createdAt: Date;
        updatedAt: Date;
        resourceId: string;
        metadata?: Record<string, unknown> | undefined;
        title?: string | undefined;
    };
    clonedMessages: any[];
}, {
    thread: {
        id: string;
        createdAt: Date;
        updatedAt: Date;
        resourceId: string;
        metadata?: Record<string, unknown> | undefined;
        title?: string | undefined;
    };
    clonedMessages: any[];
}>;
//# sourceMappingURL=memory.d.ts.map