import { SDKOptions } from "../lib/config.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; export declare class ExtractStructuredData extends ClientSDK { private readonly options$; constructor(options?: SDKOptions); /** * Extract Structured Data - Sync * * @remarks * Extracts structured data from a file. Supported file types are image, pdf (more coming soon!). * It accepts the file and requested schema for the data to be extracted. */ sync(file: components.FileT, dataSchema: { [k: string]: any; }, strategy?: components.ExtractStructuredDataStrategy | undefined, prompt?: string | undefined, options?: RequestOptions): Promise; /** * Extract Structured Data - Async Start * * @remarks * Starts an asynchronous operation to extract structured data from a file. Supported file types are image, pdf (more coming soon!). * It accepts the file and requested schema for the data to be extracted. * It responds with an ID to track the operation status and retrieve the result. */ start(file: components.FileT, dataSchema: { [k: string]: any; }, strategy?: components.ExtractStructuredDataStrategy | undefined, prompt?: string | undefined, options?: RequestOptions): Promise; /** * Extract Structured Data - Async Result * * @remarks * Gets the result of the structured data extraction operation using the operation ID. */ result(operationId: string, options?: RequestOptions): Promise; } //# sourceMappingURL=extractstructureddata.d.ts.map