import { Region } from './api'; type PostAccountOwnerDocumentProps = { /** * Pre-built request body. The caller is responsible for shape — see * `buildCuringRequestData` for the curing case. Goes into the multipart * `data` part verbatim. */ data: unknown; /** Document to upload, omitted on data-only corrections. */ file?: File | null; bearerToken: string; staging?: boolean; region?: Region; proxyDomain?: string; proxyHeaders?: Record; onSuccess?: (data: unknown) => void; onError: (error: Error) => void; }; /** * `POST /account-owner-documents` (multipart). Builds the body via the * generic `buildMultipart` helper and ships it with the bearer token. * Content-Type is deliberately omitted from the headers — `fetch` derives * the multipart boundary from the `FormData` body and would silently drop * the boundary if we forced `application/json` (the default `getHeaders` * shape). * * Data-agnostic: callers pass `data` already in the wire shape. The curing * widget builds its `data` via `buildCuringRequestData` and forwards here. */ export declare const postAccountOwnerDocument: ({ data, file, bearerToken, staging, region, proxyDomain, proxyHeaders, onSuccess, onError, }: PostAccountOwnerDocumentProps) => Promise; export {};