/** * Isomorphic base64 that works on the server and client */ export default function toBase64(str: string): string;