5 lines
212 B
TypeScript

import type { PathLike } from 'node:fs'
export declare function watchFileCreated (filename: PathLike): Promise<void>
export declare function watchForWrite (filename: PathLike, testString: string): Promise<void>