import type { ServiceName } from "../profiles/types.js"; export declare function readTail(logDir: string, service: ServiceName, lines: number): string[]; export interface FollowOptions { logDir: string; services: ServiceName[]; onLine: (service: ServiceName, line: string) => void; pollMs?: number; } export interface Follower { stop: () => void; } /** * يتابع ملفات السجلّ ويصدر الأسطر الجديدة بترتيب وصولها. * الاستطلاع بالحجم لا ‎fs.watch‎: الأخير غير موثوق على ويندوز مع ملفات تكتبها عملية أخرى. */ export declare function followLogs(options: FollowOptions): Follower; //# sourceMappingURL=tail.d.ts.map