import { DataUnit } from "@sankhyalabs/core";
export declare function base64ToBlob(base64: string): Promise<Blob>;
export declare function buildFileKey(entityName: string, fieldName: string): string;
/**
 * Faz upload de arquivo para a sessão usando XMLHttpRequest
 * Baseado no método uploadSessionFile do sessionfileupload.service.js
 */
export declare function sessionFileUpload(blob: Blob, entityName: string, fieldName: string, onProgress?: (event: ProgressEvent) => void): Promise<string>;
export declare function getUrlBase(): string;
export declare function getBaseUrl(pk: {
  [key: string]: any;
}, entityName: string, fieldName: string): string | undefined;
export declare function getPKs(dataUnit: DataUnit): Record<string, any> | undefined;
export declare function imageBlobToBase64(blob: Blob): Promise<string>;
export declare function downloadImage(pks: Record<string, any>, fieldName: string, entityName: string, signal?: AbortSignal): Promise<string>;
