import * as z from "zod/v3";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type GetAllMemoriesRequest = {
    /**
     * The unique key identifier of the memory store
     */
    memoryStoreKey: string;
    /**
     * A limit on the number of objects to be returned. Limit can range between 1 and 50, and the default is 10
     */
    limit?: number | undefined;
    /**
     * A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, ending with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `after=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the next page of the list.
     */
    startingAfter?: string | undefined;
    /**
     * A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, starting with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `before=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the previous page of the list.
     */
    endingBefore?: string | undefined;
};
export declare const GetAllMemoriesObject: {
    readonly List: "list";
};
export type GetAllMemoriesObject = ClosedEnum<typeof GetAllMemoriesObject>;
export type GetAllMemoriesData = {
    id: string;
    entityId: string;
    created: string;
    updated: string;
    createdById?: string | null | undefined;
    updatedById?: string | null | undefined;
    storeId: string;
    /**
     * Flexible key-value pairs for custom filtering and categorization. Clients can add arbitrary string metadata to enable future filtering of memory access based on their specific needs (e.g., user segments, topics, contexts, or any custom taxonomy).
     */
    metadata: {
        [k: string]: string;
    };
    workspaceId: string;
};
/**
 * Successfully retrieved the list of memories.
 */
export type GetAllMemoriesResponseBody = {
    object: GetAllMemoriesObject;
    data: Array<GetAllMemoriesData>;
    hasMore: boolean;
};
/** @internal */
export declare const GetAllMemoriesRequest$inboundSchema: z.ZodType<GetAllMemoriesRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type GetAllMemoriesRequest$Outbound = {
    memory_store_key: string;
    limit: number;
    starting_after?: string | undefined;
    ending_before?: string | undefined;
};
/** @internal */
export declare const GetAllMemoriesRequest$outboundSchema: z.ZodType<GetAllMemoriesRequest$Outbound, z.ZodTypeDef, GetAllMemoriesRequest>;
export declare function getAllMemoriesRequestToJSON(getAllMemoriesRequest: GetAllMemoriesRequest): string;
export declare function getAllMemoriesRequestFromJSON(jsonString: string): SafeParseResult<GetAllMemoriesRequest, SDKValidationError>;
/** @internal */
export declare const GetAllMemoriesObject$inboundSchema: z.ZodNativeEnum<typeof GetAllMemoriesObject>;
/** @internal */
export declare const GetAllMemoriesObject$outboundSchema: z.ZodNativeEnum<typeof GetAllMemoriesObject>;
/** @internal */
export declare const GetAllMemoriesData$inboundSchema: z.ZodType<GetAllMemoriesData, z.ZodTypeDef, unknown>;
/** @internal */
export type GetAllMemoriesData$Outbound = {
    _id: string;
    entity_id: string;
    created: string;
    updated: string;
    created_by_id?: string | null | undefined;
    updated_by_id?: string | null | undefined;
    store_id: string;
    metadata: {
        [k: string]: string;
    };
    workspace_id: string;
};
/** @internal */
export declare const GetAllMemoriesData$outboundSchema: z.ZodType<GetAllMemoriesData$Outbound, z.ZodTypeDef, GetAllMemoriesData>;
export declare function getAllMemoriesDataToJSON(getAllMemoriesData: GetAllMemoriesData): string;
export declare function getAllMemoriesDataFromJSON(jsonString: string): SafeParseResult<GetAllMemoriesData, SDKValidationError>;
/** @internal */
export declare const GetAllMemoriesResponseBody$inboundSchema: z.ZodType<GetAllMemoriesResponseBody, z.ZodTypeDef, unknown>;
/** @internal */
export type GetAllMemoriesResponseBody$Outbound = {
    object: string;
    data: Array<GetAllMemoriesData$Outbound>;
    has_more: boolean;
};
/** @internal */
export declare const GetAllMemoriesResponseBody$outboundSchema: z.ZodType<GetAllMemoriesResponseBody$Outbound, z.ZodTypeDef, GetAllMemoriesResponseBody>;
export declare function getAllMemoriesResponseBodyToJSON(getAllMemoriesResponseBody: GetAllMemoriesResponseBody): string;
export declare function getAllMemoriesResponseBodyFromJSON(jsonString: string): SafeParseResult<GetAllMemoriesResponseBody, SDKValidationError>;
//# sourceMappingURL=getallmemories.d.ts.map