/**
 * Converts base64 string to Uint8Array.
 *
 * @returns The restored array view.
 */
export declare function base64ToBuffer(str: string): Uint8Array | Buffer;
/**
 * Converts incoming data to base64 string.
 *
 * @returns Safe to store string.
 */
export declare function bufferToBase64(view: Buffer | ArrayBuffer | Uint8Array): string;
/**
 * Reads file as ArrayBuffer
 */
export declare function fileToBuffer(blob: Blob): Promise<Uint8Array>;
/**
 * Reads file as string
 */
export declare function fileToString(blob: Blob): Promise<string>;
//# sourceMappingURL=Buffer.d.ts.map