export default function bufToB64(buf: any): any;