export type PtyStatus = string | null; export interface PostconditionDeps { getPtyStatus: () => PtyStatus; getUserEntryCount: () => number; getLastEntryAgeMs: () => number | null; now: () => number; sleep: (ms: number) => Promise; log: (line: string) => void; windowMs: number; intervalMs: number; } /** Count `"type":"user"` records in a JSONL file. Best-effort: a missing or * unreadable file is 0 (a cold spawn has no JSONL yet). */ export declare function countUserEntries(jsonlPath: string): number; export declare function watchInputSubmission(args: { pid: number | null; sessionId: string; bytes: number; baselineUserCount: number; deps: PostconditionDeps; }): Promise<'submitted' | 'no-turn'>; //# sourceMappingURL=input-postcondition.d.ts.map