/**
 * File tailing utility for append-only log files.
 *
 * Provides an async generator that yields complete lines as they are appended
 * to a file, using `fs.watch()` for change notifications and partial line
 * buffering for split writes.
 *
 * Used by the Firecracker backend to tail serial console and VMM log files
 * from the jailer chroot directory.
 */
/**
 * Tail an append-only file, yielding complete lines as they are written.
 *
 * Pre-creates the file if it does not exist to avoid watch errors.
 * Tracks byte offset and partial (incomplete) trailing lines across reads.
 * Stops when the provided AbortSignal is triggered.
 *
 * @param filePath - Path to the file to tail
 * @param signal - AbortSignal to stop tailing
 * @yields Complete lines (non-empty) as they are appended to the file
 */
export declare function tailFile(filePath: string, signal: AbortSignal): AsyncGenerator<string>;
//# sourceMappingURL=file-tail.d.ts.map