import { BytesOrCopiable, Copied } from '../../libs/copiable/index.js';

declare function fromBuffer(): {
    encodePaddedOrThrow: (bytes: BytesOrCopiable) => string;
    decodePaddedOrThrow: (text: string) => Copied;
    encodeUnpaddedOrThrow: (bytes: BytesOrCopiable) => string;
    decodeUnpaddedOrThrow: (text: string) => Copied;
};

export { fromBuffer };
