import type { LintResult } from '../core/types.js'; import type { Linter } from '../core/linter.js'; import type { DesignLintPolicy } from '../core/types.js'; export interface ExecuteOptions { fix?: boolean; quiet?: boolean; output?: string; format?: string; report?: string; maxWarnings?: number; failOnEmpty?: boolean; /** Path to a baseline JSON file for ratchet enforcement. */ baseline?: string; /** Agent identifier passed to agentPolicy.trustedAgents. */ agentId?: string; } export interface ExecuteServices { formatter: (results: LintResult[], useColor?: boolean) => string; linterRef: { current: Linter; }; ignorePath?: string; state: { pluginPaths: string[]; ignoreFilePaths: string[]; }; useColor: boolean; /** Active policy, when present. Used for runtime enforcement post-lint. */ policy?: DesignLintPolicy; envOptions?: { cacheLocation?: string; configPath?: string; patterns?: string[]; }; } export declare function executeLint(targets: string[], opts: ExecuteOptions, services: ExecuteServices): Promise<{ results: LintResult[]; exitCode: number; ignoreFiles: string[]; }>; //# sourceMappingURL=execute.d.ts.map