/** Encode a string or Uint8Array to base64. */ export declare function toBase64(input: string | Uint8Array): string; /** Decode a base64 string to Uint8Array. */ export declare function fromBase64(base64: string): Uint8Array; /** Decode a base64-encoded UTF-8 string. Runtime-agnostic (no `Buffer` global). */ export declare function base64ToUtf8(base64: string): string; //# sourceMappingURL=base64.d.ts.map