import { Result } from "./result.js"; import { AsyncToDecoder, ToDecoder, TxtEnDecoder } from "./txt-en-decoder.js"; export interface JSONEnDecoder { stringify(input: Result | T, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string; asyncStringify(input: Promise | T>, replacer?: (this: any, key: string, value: any) => any, space?: string | number): Promise; uint8ify(input: Result | T, replacer?: (this: any, key: string, value: any) => any, space?: string | number): Uint8Array; asyncUint8ify(input: Promise | T>, replacer?: (this: any, key: string, value: any) => any, space?: string | number): Promise>; parse(input: ToDecoder, reviver?: (this: any, key: string, value: any) => any): Result; asyncParse(input: AsyncToDecoder, reviver?: (this: any, key: string, value: any) => any): Promise>; } export declare function JSONEnDecoderSingleton(txtEnde?: TxtEnDecoder): JSONEnDecoder; //# sourceMappingURL=json-en-decoder.d.ts.map