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;
    /**
     * Search query to filter memories by entity_id
     */
    q?: string | undefined;
};
export declare const GetAllMemoriesObject: {
    readonly List: "list";
};
export type GetAllMemoriesObject = ClosedEnum<typeof GetAllMemoriesObject>;
export type GetAllMemoriesData = {
    /**
     * Unique identifier for the memory. This is automatically generated by the system.
     */
    id: string;
    /**
     * Customer provided entity ID for the memory. This is used to link the memory to a specific user/company/session/etc. Has to be unique within the memory store.
     *
     * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
     */
    entityId: string;
    created: string;
    updated: string;
    createdById?: string | null | undefined;
    updatedById?: string | null | undefined;
    storeId: string;
    workspaceId: string;
    /**
     * The number of memories in the entity
     */
    documentsCount: number;
};
/**
 * Successfully retrieved the list of memories.
 */
export type GetAllMemoriesResponseBody = {
    object: GetAllMemoriesObject;
    data: Array<GetAllMemoriesData>;
    hasMore: boolean;
};
/** @internal */
export type GetAllMemoriesRequest$Outbound = {
    memory_store_key: string;
    limit: number;
    starting_after?: string | undefined;
    ending_before?: string | undefined;
    q?: string | undefined;
};
/** @internal */
export declare const GetAllMemoriesRequest$outboundSchema: z.ZodType<GetAllMemoriesRequest$Outbound, z.ZodTypeDef, GetAllMemoriesRequest>;
export declare function getAllMemoriesRequestToJSON(getAllMemoriesRequest: GetAllMemoriesRequest): string;
/** @internal */
export declare const GetAllMemoriesObject$inboundSchema: z.ZodNativeEnum<typeof GetAllMemoriesObject>;
/** @internal */
export declare const GetAllMemoriesData$inboundSchema: z.ZodType<GetAllMemoriesData, z.ZodTypeDef, unknown>;
export declare function getAllMemoriesDataFromJSON(jsonString: string): SafeParseResult<GetAllMemoriesData, SDKValidationError>;
/** @internal */
export declare const GetAllMemoriesResponseBody$inboundSchema: z.ZodType<GetAllMemoriesResponseBody, z.ZodTypeDef, unknown>;
export declare function getAllMemoriesResponseBodyFromJSON(jsonString: string): SafeParseResult<GetAllMemoriesResponseBody, SDKValidationError>;
//# sourceMappingURL=getallmemories.d.ts.map