import { AdapterInfo, JSONAdapter, ParseError, Replacer, Result, Reviver, StringifyError } from '../types.js'; /** * Native JavaScript JSON adapter implementation * * Provides the same interface as the Rust adapter but uses * the built-in JSON object. Useful as a fallback and for * environments where native bindings can't be loaded. */ export declare class NativeAdapter implements JSONAdapter { readonly name: "native"; readonly isNative = true; /** * Parse a JSON string using native JSON.parse */ parse(text: string, reviver?: Reviver): T; /** * Stringify a value using native JSON.stringify */ stringify(value: unknown, replacer?: Replacer, space?: number | string): string; /** * Deep clone via JSON round-trip */ clone(value: T): T; /** * Parse without throwing */ safeParse(text: string): Result; /** * Stringify without throwing */ safeStringify(value: unknown): Result; /** * Validate JSON string */ isValid(text: string): boolean; /** * Get adapter information */ getInfo(): AdapterInfo; } /** * Singleton instance of the native adapter */ export declare const nativeAdapter: NativeAdapter; //# sourceMappingURL=native.d.ts.map