declare class InvalidCharacterError extends Error {
    constructor(message?: string);
}
declare function encodeFallback(input: string): string;
/**
 * Encode array buffer to base64 string
 *
 * GitHub @niklasvh
 * Copyright (c) 2012 Niklas von Hertzen
 * MIT License
 */
declare function encodeArrayBuffer(arrayBuffer: ArrayBuffer): string;
declare function decodeFallback(input: string): string;
declare function decodeArrayBuffer(base64: string): ArrayBuffer;
declare const decode: typeof decodeFallback;
declare const encode: typeof encodeFallback;
export { decode, decodeArrayBuffer, encode, encodeArrayBuffer, InvalidCharacterError };
//# sourceMappingURL=base64.d.ts.map