/// <reference types="node" />
import { TextDecoder as NodeTextDecoder, TextEncoder as NodeTextEncoder } from 'util';
export declare type BrowserTextEncoderType = typeof TextEncoder;
export declare type BrowserTextDecoderType = typeof TextDecoder;
export declare type NodeTextEncoderType = typeof NodeTextEncoder;
export declare type NodeTextDecoderType = typeof NodeTextDecoder;
export declare type TextEncoderFn = BrowserTextEncoderType | NodeTextEncoderType;
export declare type TextDecoderFn = BrowserTextDecoderType | NodeTextDecoderType;
