import { ESLINT_PACKAGE_PINS } from './eslint-runner.js'; export type EslintDetectState = 'ready' | 'eslint-missing' | 'config-error' | 'npx-failed' | 'detection-failed'; export type EslintDetectResult = { readonly state: EslintDetectState; readonly npxAvailable: boolean; readonly pinnedVersions: typeof ESLINT_PACKAGE_PINS; readonly warnings: readonly string[]; readonly nextActions: readonly string[]; }; /** Named code for "npm itself could not be launched" — distinct from a registry miss. */ export declare const NPM_PROBE_UNRESOLVED_CODE = "NPM_PROBE_UNRESOLVED"; export declare function detectEslint(): EslintDetectResult;