import { Result } from "./result.js"; import { ToUInt8 } from "./utils/coerce-uint8.js"; export type ToDecoder = ToUInt8 | string | Result; export type AsyncToDecoder = ToDecoder | Blob | Promise; export interface TxtEnDecoder { encode: (input: string) => Uint8Array; decode: (input?: ToDecoder) => string; asyncDecode: (input?: AsyncToDecoder) => Promise; } export declare const TxtEnDecoderSingleton: () => TxtEnDecoder; //# sourceMappingURL=txt-en-decoder.d.ts.map