import type * as Extend from "../../index"; /** * @example * { * config: { * splitClassifications: [{ * id: "invoice", * type: "invoice", * description: "An invoice or bill for goods or services", * identifierKey: "invoice number from the document header" * }, { * id: "receipt", * type: "receipt", * description: "A receipt confirming payment", * identifierKey: "receipt number" * }, { * id: "other", * type: "other", * description: "Any other document type" * }] * }, * file: { * url: "https://example.com/multi-document.pdf" * } * } */ export interface SplitRequest { /** Reference to an existing splitter. One of `splitter` or `config` must be provided. */ splitter?: Extend.SplitRequestSplitter; /** Inline splitter configuration. One of `splitter` or `config` must be provided. */ config?: Extend.SplitConfig; /** The file to be split. Files can be provided as a URL or an Extend file ID. */ file: Extend.SplitRequestFile; metadata?: Extend.RunMetadata; }