import { TextEncoder } from 'text-encoding';
import 'core-js/features/url';
declare global {
    interface Global {
        TextEncoder: typeof TextEncoder;
    }
    interface Headers {
        append(name: string, value: string): void;
        delete(name: string): void;
        get(name: string): string | null;
        has(name: string): boolean;
        set(name: string, value: string): void;
    }
    class URL {
        constructor(input: string, base?: string | URL);
        href: string;
        protocol: string;
        hostname: string;
        pathname: string;
        search: string;
        hash: string;
    }
}
export declare const base64: {
    encode: (input: string) => string;
};
