import type {JsoncStringerOptions as CoreJsoncStringerOptions} from '../../core/jsonc/stringer.js'; /** * Creates a flushable function that converts a token stream (including JSONC * `whitespace` and `comment` tokens) back into JSONC text. * * Web-flavored entry: the returned factory has only `jsoncStringer.asWebStream(options)` attached. * * @param options - Stringer configuration. * @returns A flushable function for use in a `chain()` pipeline. */ declare function stringer(options?: stringer.JsoncStringerOptions): ReturnType; declare namespace stringer { /** Options for the JSONC Stringer. */ export type JsoncStringerOptions = CoreJsoncStringerOptions; /** Creates a JSONC Stringer wrapped as a Web `TransformStream`-shaped pair. */ export function asWebStream(options?: JsoncStringerOptions): {readable: ReadableStream; writable: WritableStream}; /** Self-reference for backwards compat. */ export const stringer: typeof import('./stringer.js').default; } type JsoncStringerOptions = stringer.JsoncStringerOptions; export default stringer; export {stringer, stringer as jsoncStringer}; export type {JsoncStringerOptions};