import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Item, Item$Outbound } from "./item.js"; /** * Paginated list object containing input items for a response with cursor-based pagination metadata. */ export type InputItemListObject = { /** * The object type, always 'list' for paginated list responses. */ object: "list"; /** * Array of input items (messages, prompts, instructions) that were provided when creating the response. Each item contains its type, content, role, and metadata. */ data: Array; /** * The ID of the first item in the current page. Used as a reference point for pagination. */ firstId?: string | undefined; /** * The ID of the last item in the current page. Used as a cursor for fetching the next page. */ lastId?: string | undefined; /** * Indicates whether there are more items available beyond the current page. True if additional pages exist, false otherwise. */ hasMore: boolean; }; /** @internal */ export declare const InputItemListObject$inboundSchema: z.ZodType; /** @internal */ export type InputItemListObject$Outbound = { object: "list"; data: Array; first_id?: string | undefined; last_id?: string | undefined; has_more: boolean; }; /** @internal */ export declare const InputItemListObject$outboundSchema: z.ZodType; export declare function inputItemListObjectToJSON(inputItemListObject: InputItemListObject): string; export declare function inputItemListObjectFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=inputitemlistobject.d.ts.map