import { FilePayload } from '../../entity/file/filePayload'; import { AllowedDocumentSideType, AllowedDocumentType, AllowedPurposeIdType } from '../../entity/file/fileState'; export interface AuthParams { sessionId: string; tenantId: string; userId: string; } export interface AuthParamsPayload { zeni_session_id: string; zeni_tenant_id: string; zeni_user_id: string; } export interface FileMetadataPayload { documentSide: AllowedDocumentSideType; documentType: AllowedDocumentType; purposeId: AllowedPurposeIdType; } export default function uploadFile(fileBlob: Blob, metadataPayload: FileMetadataPayload, filesEndPoint: string, authParams: AuthParams): Promise; /** * Uploads N files to the generic `/files` endpoint in a SINGLE multipart * request, using the same indexed `attachment_file_` / `attachment_json_` * shape as `uploadFile` — the backend already supports any N via this scheme. */ export declare function uploadFiles(fileBlobs: Blob[], metadataPayload: FileMetadataPayload, filesEndPoint: string, authParams: AuthParams): Promise;