import type { SuperJSON } from "superjson"; import { FsDuplex } from "../common/fs-duplex.js"; type Closeable = { closed?: boolean; } | {}; /** * @deprecated This class is part of the old file-based communication protocol. * It will be replaced by the new `fs-duplex` module implementation. */ export declare class NodeFsDuplex extends FsDuplex { private _filepath; private _lastMtime; private _taskFilepath; private _pollTimeoutId; private _isDestroyed; private _id; private _enoentCount; private static readonly MAX_ENOENT_RETRIES; private constructor(); static create(superjson: SuperJSON, filepath: string, id: string, initialTask?: T): Promise>; start(): void; protected _onData(data: T): void; private _poll; write(payload: Partial): Promise; destroy(): Promise; } export {}; //# sourceMappingURL=fs-duplex.d.ts.map