/** ***************************************** * 抛出接口 ***************************************** */ export declare const base64: { atob: typeof atob; btoa: typeof btoa; encode: typeof encode; decode: typeof decode; }; /** ***************************************** * 将base64解码成utf8字符串 ***************************************** */ export declare function atob(str: string): string; /** ***************************************** * 将utf8字符串编码成base64 ***************************************** */ export declare function btoa(str: string): string; /** ***************************************** * 编码字符 ***************************************** */ export declare function encode(str: string): number[]; /** ***************************************** * 解码字符 ***************************************** */ export declare function decode(arr: ArrayLike, start?: number, end?: number): string; //# sourceMappingURL=base64.d.ts.map