/** * For use before `base64ToBin`. Returns true if the provided string is valid * base64 (length is divisible by 4, only uses base64 characters). * @param maybeHex - a string to test */ export declare const isBase64: (maybeBase64: string) => boolean; /** * Convert a base64-encoded string to a Uint8Array. * * Note, this method always completes. If `validBase64` is not valid base64, an * incorrect result will be returned. If `validBase64` is potentially malformed, * check it with `isBase64` before calling this method. * * @param validBase64 - a valid base64-encoded string to decode */ export declare const base64ToBin: (validBase64: string) => Uint8Array; /** * Convert a Uint8Array to a base64-encoded string. * @param bytes - the Uint8Array to base64 encode */ export declare const binToBase64: (bytes: Uint8Array) => string; //# sourceMappingURL=base64.d.ts.map