import type { JobEntry, RunFetchEnv } from './run-context-types.mts'; /** * Lazily fetches job logs through a head+tail window, one job at a time, and keeps no more than * `limits.totalBytes` of text across the run. A job that cannot be read, or that arrives after the * budget is spent, is recorded as a fetch failure with an empty log so rules never see a partial * log presented as complete. */ export declare function createLogFetchers(env: RunFetchEnv, allJobs: readonly JobEntry[], failedJobs: readonly JobEntry[]): { failedJobLogs: () => Promise>; jobLogs: (jobNames: readonly string[]) => Promise>; failedJobLogFetchFailures: () => Promise>; };