import { HttpClient } from '../client/http-client'; import { UploadDocumentOutputDto, FillUploadDocumentInput, ReviewUploadDocumentDto, StageUploadDocumentFileResult } from '../types'; /** * Upload document service * Handles document upload-related API calls */ export declare class UploadDocumentService { private httpClient; constructor(httpClient: HttpClient); /** * Get upload document requirements for an applicant */ getUploadDocument(applicantId: number): Promise; /** * Upload one document file ahead of the step submit. * * The file goes straight to storage and the returned id is what `fillUploadDocument` references, so * the submit carries no file bytes. Submitting every file inline as base64 in a single request is * what used to exceed request-size limits on KYB. */ stageUploadDocumentFile(applicantId: number, uploadDocumentFileId: number, file: File, onProgress?: (percent: number) => void): Promise; /** * Submit uploaded documents */ fillUploadDocument(input: FillUploadDocumentInput): Promise; /** * Review uploaded documents (admin function) * * @deprecated Server only: VeroCompliance refuses it with 403 (`Sdk.ServerOnly`) when the SDK runs with an * applicant's session or KYC-link token. It works only with the tenant's API key and secret: call the * endpoint from your backend instead. */ reviewUploadDocument(input: ReviewUploadDocumentDto): Promise; } //# sourceMappingURL=upload-document.service.d.ts.map