// Copyright © 2022-2026 Partium, Inc. DBA Partium import { Observable } from 'rxjs'; import { SdkError } from '../models/error'; import { INTERFACE } from '../models/log'; import { PFile } from '../models/p-file'; import { BACKEND_SERVICE, HttpsService } from '../services/http/https.service.interface'; export declare function createMultipartUploadUnsupportedError(): SdkError; export declare function guardMultipartUpload(file: PFile, proceed: () => Observable): Observable; /** * Builds the standard partium-api multipart body: JSON `input` field + binary `image` from PFile. */ export declare function createPFileImageMultipartFormData(image: PFile, input?: object): FormData; export declare function createPartiumInterfaceMultipartHeaders(eventInterface?: INTERFACE): Record; export declare function postPFileImageMultipartRequest(httpsService: HttpsService, options: { url: string; image: PFile; input?: object; eventInterface?: INTERFACE; backend?: BACKEND_SERVICE; }): Observable;