import * as fs from 'node:fs'; import type { Json } from '@traversable/json'; import { transform } from './utils.js'; export declare function writeFromFile(options: writeFromFile.Options): () => void; export declare namespace writeFromFile { interface Options extends transform.Options { sourceFile: string; targetFile: fs.PathOrFileDescriptor; } } export declare function writeFromSource(options: writeFromSource.Options): () => void; export declare namespace writeFromSource { interface Options extends transform.Options { source: string | readonly Json[] | { [x: string]: Json; }; targetFile: fs.PathOrFileDescriptor; } } export declare function writeFromAsyncSource(options: writeFromAsyncSource.Options): () => Promise; export declare namespace writeFromAsyncSource { interface Options extends transform.Options { source: Promise; targetFile: fs.PathOrFileDescriptor; } } //# sourceMappingURL=write.d.ts.map