/*! * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ import type { IsoBufferEncoding } from "./buffer.js"; /** * Converts the provided {@link https://en.wikipedia.org/wiki/Base64 | base64}-encoded string * to {@link https://en.wikipedia.org/wiki/UTF-8 | utf-8}. * * @internal */ export declare const fromBase64ToUtf8: (input: string) => string; /** * Converts the provided {@link https://en.wikipedia.org/wiki/UTF-8 | utf-8}-encoded string * to {@link https://en.wikipedia.org/wiki/Base64 | base64}. * * @internal */ export declare const fromUtf8ToBase64: (input: string) => string; /** * Convenience function to convert unknown encoding to utf8 that avoids * buffer copies/encode ops when no conversion is needed. * @param input - The source string to convert. * @param encoding - The source string's encoding. * * @internal */ export declare const toUtf8: (input: string, encoding: IsoBufferEncoding) => string; //# sourceMappingURL=base64EncodingBrowser.d.ts.map