import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Compaction item: A condensed summary of prior conversation history to reduce context size. */ export type ResponseCompactionItemWithId = { type: "compaction"; /** * The unique ID of the message. */ id: string; /** * The compacted/summarized conversation content. */ content: string; /** * Optional encrypted content for OpenAI API compatibility. */ encryptedContent?: string | undefined; /** * The model that created this compaction. */ createdBy?: string | undefined; /** * The ID of the response that created this item, if any. */ responseId?: string | null | undefined; /** * Metadata from the response that created this item, if any. */ metadata?: { [k: string]: string; } | null | undefined; }; /** @internal */ export declare const ResponseCompactionItemWithId$inboundSchema: z.ZodType; /** @internal */ export type ResponseCompactionItemWithId$Outbound = { type: "compaction"; id: string; content: string; encrypted_content?: string | undefined; created_by?: string | undefined; response_id?: string | null | undefined; metadata?: { [k: string]: string; } | null | undefined; }; /** @internal */ export declare const ResponseCompactionItemWithId$outboundSchema: z.ZodType; export declare function responseCompactionItemWithIdToJSON(responseCompactionItemWithId: ResponseCompactionItemWithId): string; export declare function responseCompactionItemWithIdFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=responsecompactionitemwithid.d.ts.map