import { B as BlindpayApiResponse } from '../../index.d-Gvol1faW.js';

type UploadBucket = "avatar" | "onboarding" | "limit_increase";
type UploadInput = {
    file: File | Blob;
    bucket: UploadBucket;
    instance_id?: string;
};
type UploadResponse = {
    file_url: string;
};
declare function createUploadResource(baseUrl: string, headers: Record<string, string>): {
    upload({ file, bucket, instance_id, }: UploadInput): Promise<BlindpayApiResponse<UploadResponse>>;
};

export { type UploadBucket, type UploadInput, type UploadResponse, createUploadResource };
