import type { ProjectLintToolDetection } from './rule-pre-read-types.js'; /** The reason a project with no lint tooling gets. Exact, and never empty. */ export declare const NO_LINT_TOOL_REASON = "no lint tool declared by this project"; /** The tool a command line invokes, or `null` when it invokes no known tool. */ export declare function toolNameFromCommand(command: string, scripts: ReadonlyMap, depth?: number): string | null; /** Whether a name is a lint tool's name. */ export declare function isLintToolName(name: string): boolean; /** * The project's own lint tooling, discovered from its declaration sites. * * A project that declares no lint tool gets an EXPLICIT reason, never a * silent empty list. */ export declare function detectProjectLintTools(projectRoot: string): ProjectLintToolDetection;