import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Item reference item: A pointer to another response item by ID. */ export type ItemReferenceWithId = { type?: "item_reference" | undefined; /** * The unique ID of the message. */ id: string; /** * 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 ItemReferenceWithId$inboundSchema: z.ZodType; /** @internal */ export type ItemReferenceWithId$Outbound = { type: "item_reference"; id: string; response_id?: string | null | undefined; metadata?: { [k: string]: string; } | null | undefined; }; /** @internal */ export declare const ItemReferenceWithId$outboundSchema: z.ZodType; export declare function itemReferenceWithIdToJSON(itemReferenceWithId: ItemReferenceWithId): string; export declare function itemReferenceWithIdFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=itemreferencewithid.d.ts.map