import type * as core from "../../../../../core/index.js"; /** * @example * {} */ export interface DocAiDigitiseRequest { /** Document file(s) to digitise. Repeatable multipart part. Exactly one of `file` and `upload_ids` must be provided. */ file?: core.file.Uploadable[] | undefined; /** Comma-separated upload IDs returned by `POST /doc-ai/v1/job/upload`. Exactly one of `file` and `upload_ids` must be provided. */ upload_ids?: string; /** Language code of the document (BCP-47), e.g. `en-IN`, `hi-IN`. */ language?: string; /** Output format of the digitised document. */ output_format?: DocAiDigitiseRequest.OutputFormat; /** Nature of the document content. */ content_type?: DocAiDigitiseRequest.ContentType; /** Automatically correct page orientation before processing. Boolean sent as text: `true` or `false`. */ auto_orient?: string; /** Model to use for digitisation. */ model?: string; } export declare namespace DocAiDigitiseRequest { /** Output format of the digitised document. */ const OutputFormat: { readonly Html: "html"; readonly Md: "md"; }; type OutputFormat = (typeof OutputFormat)[keyof typeof OutputFormat]; /** Nature of the document content. */ const ContentType: { readonly Printed: "printed"; readonly Handwritten: "handwritten"; readonly Mixed: "mixed"; }; type ContentType = (typeof ContentType)[keyof typeof ContentType]; }