import type { Config } from './linter.js'; import type { CacheProvider } from './cache-provider.js'; import type { LintResult } from './types.js'; import type { LintDocument } from './environment.js'; export interface RunnerOptions { config: Config; lintDocument: (text: string, sourceId: string, docType: string, metadata?: Record) => Promise; } export declare class Runner { private config; private lintDocumentFn; constructor(options: RunnerOptions); run(documents: LintDocument[], fix?: boolean, cache?: CacheProvider): Promise<{ results: LintResult[]; ignoreFiles: string[]; warning?: string; }>; } //# sourceMappingURL=runner.d.ts.map