type EncodedData = string; declare function btoa(decodedData: string): EncodedData; export = btoa;