/**
 * @fileoverview Safe JSON parsing with validation.
 */
import type { JsonParseOptions, JsonParseResult, Schema } from './types';
export declare function safeJsonParse<T = unknown>(jsonString: string, schema?: Schema<T>, options?: JsonParseOptions): T;
export declare function tryJsonParse<T = unknown>(jsonString: string, schema?: Schema<T>, options?: JsonParseOptions): T | undefined;
export declare function parseJsonWithResult<T = unknown>(jsonString: string, schema?: Schema<T>, options?: JsonParseOptions): JsonParseResult<T>;
export declare function createJsonParser<T = unknown>(schema?: Schema<T>, defaultOptions?: JsonParseOptions): (jsonString: string, options?: JsonParseOptions) => T;
export declare function parseNdjson<T = unknown>(ndjson: string, schema?: Schema<T>, options?: JsonParseOptions): T[];
export declare function streamNdjson<T = unknown>(ndjson: string, schema?: Schema<T>, options?: JsonParseOptions): Generator<T, void, unknown>;
