import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type ExtractWithSchemaFile = { fileName: string; content: ReadableStream | Blob | ArrayBuffer | Uint8Array; }; export type ExtractWithSchemaRequestBody = { /** * ID of the model to use for extraction */ model: string; /** * The file to extract structured data from */ file: ExtractWithSchemaFile | Blob; /** * Optional custom system prompt to guide extraction */ prompt?: string | undefined; }; export type ExtractWithSchemaRequest = { schemaId: string; /** * Optional external end-user identifier forwarded by the API gateway. */ xOnBehalfOf?: string | undefined; requestBody: ExtractWithSchemaRequestBody; }; /** @internal */ export declare const ExtractWithSchemaFile$inboundSchema: z.ZodType; /** @internal */ export type ExtractWithSchemaFile$Outbound = { fileName: string; content: ReadableStream | Blob | ArrayBuffer | Uint8Array; }; /** @internal */ export declare const ExtractWithSchemaFile$outboundSchema: z.ZodType; export declare function extractWithSchemaFileToJSON(extractWithSchemaFile: ExtractWithSchemaFile): string; export declare function extractWithSchemaFileFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ExtractWithSchemaRequestBody$inboundSchema: z.ZodType; /** @internal */ export type ExtractWithSchemaRequestBody$Outbound = { model: string; file: ExtractWithSchemaFile$Outbound | Blob; prompt?: string | undefined; }; /** @internal */ export declare const ExtractWithSchemaRequestBody$outboundSchema: z.ZodType; export declare function extractWithSchemaRequestBodyToJSON(extractWithSchemaRequestBody: ExtractWithSchemaRequestBody): string; export declare function extractWithSchemaRequestBodyFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ExtractWithSchemaRequest$inboundSchema: z.ZodType; /** @internal */ export type ExtractWithSchemaRequest$Outbound = { schema_id: string; "X-On-Behalf-Of"?: string | undefined; RequestBody: ExtractWithSchemaRequestBody$Outbound; }; /** @internal */ export declare const ExtractWithSchemaRequest$outboundSchema: z.ZodType; export declare function extractWithSchemaRequestToJSON(extractWithSchemaRequest: ExtractWithSchemaRequest): string; export declare function extractWithSchemaRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=extractwithschema.d.ts.map