/// <reference types="node" />
export interface Base64Url {
    (input: string | Buffer, encoding?: BufferEncoding): string;
    encode(input: string | Buffer, encoding?: BufferEncoding): string;
    decode(base64Url: string, encoding?: BufferEncoding): string;
    toBase64(base64Url: string | Buffer): string;
    fromBase64(base64: string): string;
    toBuffer(base64Url: string): Buffer;
    fromArrayBuffer(buf: ArrayBuffer | null): string;
}
export declare const base64url: Base64Url;
