/// <reference types="node" />
/// <reference types="node" />
import * as fs from 'fs';
import * as readline from 'readline';
import { AddressInfo } from 'ws';
export declare function fp(relPath: string): string;
export declare type Line = {
    [key: string]: string | Date | AddressInfo | number | undefined;
};
export declare class Log {
    filepath: string;
    logger: fs.WriteStream;
    reader: readline.Interface;
    constructor(relPath: string, overwrite?: boolean);
    log(line: Line): void;
    read(): AsyncGenerator<string, void, unknown>;
}
