import type { Encoding } from './types';
declare const BufferEncoding: {
    encode: (data: Uint8Array, encoding: Encoding) => string;
    encodeStr: (data: string, encoding: Encoding) => string;
    decode: (data: string, encoding: Encoding) => Uint8Array;
    decodeStr: (data: string, encoding: Encoding) => string;
};
export default BufferEncoding;
export type { Encoding };
