import { BaseClient } from "../client"; import type { OpBody } from "../openapi"; export declare class Start extends BaseClient { fromExistingDocument(documentId: string, schema: { schema: OpBody<"parse-existing-document">["schema"]; }): Promise<{ id: string; projectId: string; documentId: string; schemaRef: import("../openapi").components["schemas"]["SchemaRef"]; status: "created" | "parsing" | "parsed" | "error"; error?: string | null; output?: unknown; updatedBy: string; updatedAt: string; createdBy: string; createdAt: string; document: import("../openapi").components["schemas"]["Document"]; schema: import("../openapi").components["schemas"]["Schema"]; }>; fromUrl(url: string, parses: OpBody<"add-document">["parses"], options?: { contentType?: string; }): Promise<{ id: string; projectId: string; name: string; description: string; preview?: string; contentType: string; status: "pending" | "downloaded" | "converted" | "error"; error?: string; bucket: string; prefix: string; remote: import("../openapi").components["schemas"]["RemoteDocumentDescriptor"]; representations: import("../openapi").components["schemas"]["Representation"][]; updatedBy: string; updatedAt: string; createdBy: string; createdAt: string; parses: import("../openapi").components["schemas"]["ParseWithSchema"][]; }>; fromPlain(contents: string, parses: OpBody<"add-document">["parses"], options?: { contentType: string; }): Promise<{ id: string; projectId: string; name: string; description: string; preview?: string; contentType: string; status: "pending" | "downloaded" | "converted" | "error"; error?: string; bucket: string; prefix: string; remote: import("../openapi").components["schemas"]["RemoteDocumentDescriptor"]; representations: import("../openapi").components["schemas"]["Representation"][]; updatedBy: string; updatedAt: string; createdBy: string; createdAt: string; parses: import("../openapi").components["schemas"]["ParseWithSchema"][]; }>; fromFile(file: File, parses: OpBody<"add-document">["parses"], options: { contentType: string; }): Promise<{ id: string; projectId: string; name: string; description: string; preview?: string; contentType: string; status: "pending" | "downloaded" | "converted" | "error"; error?: string; bucket: string; prefix: string; remote: import("../openapi").components["schemas"]["RemoteDocumentDescriptor"]; representations: import("../openapi").components["schemas"]["Representation"][]; updatedBy: string; updatedAt: string; createdBy: string; createdAt: string; parses: import("../openapi").components["schemas"]["ParseWithSchema"][]; }>; fromBase64(base64: string, parses: OpBody<"add-document">["parses"], options: { contentType: string; }): Promise<{ id: string; projectId: string; name: string; description: string; preview?: string; contentType: string; status: "pending" | "downloaded" | "converted" | "error"; error?: string; bucket: string; prefix: string; remote: import("../openapi").components["schemas"]["RemoteDocumentDescriptor"]; representations: import("../openapi").components["schemas"]["Representation"][]; updatedBy: string; updatedAt: string; createdBy: string; createdAt: string; parses: import("../openapi").components["schemas"]["ParseWithSchema"][]; }>; fromBuffer(buffer: Buffer, parses: OpBody<"add-document">["parses"], options: { contentType: string; }): Promise<{ id: string; projectId: string; name: string; description: string; preview?: string; contentType: string; status: "pending" | "downloaded" | "converted" | "error"; error?: string; bucket: string; prefix: string; remote: import("../openapi").components["schemas"]["RemoteDocumentDescriptor"]; representations: import("../openapi").components["schemas"]["Representation"][]; updatedBy: string; updatedAt: string; createdBy: string; createdAt: string; parses: import("../openapi").components["schemas"]["ParseWithSchema"][]; }>; }