import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { ResponseObject, ResponseObject$Outbound } from "./responseobject.js"; /** * Paginated list object containing responses with cursor-based pagination metadata. */ export type ResponseListObject = { /** * The object type, always 'list' for paginated list responses. */ object: "list"; /** * Array of response objects. Each response contains its status, model, input/output, tool usage logs, metadata, and completion information. */ data: Array; /** * The ID of the first response in the current page. Used as a reference point for pagination. */ firstId?: string | undefined; /** * The ID of the last response in the current page. Used as a cursor for fetching the next page. */ lastId?: string | undefined; /** * Indicates whether there are more responses available beyond the current page. True if additional pages exist, false otherwise. */ hasMore: boolean; }; /** @internal */ export declare const ResponseListObject$inboundSchema: z.ZodType; /** @internal */ export type ResponseListObject$Outbound = { object: "list"; data: Array; first_id?: string | undefined; last_id?: string | undefined; has_more: boolean; }; /** @internal */ export declare const ResponseListObject$outboundSchema: z.ZodType; export declare function responseListObjectToJSON(responseListObject: ResponseListObject): string; export declare function responseListObjectFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=responselistobject.d.ts.map