export declare const getCacheLocation: (args: string[]) => string; export declare const createEslintCacheFingerprint: (cwd?: string) => string; type EslintCacheOptions = { cacheLocation: string; cwd?: string; fingerprint?: string; }; export declare const prepareEslintCache: (options: EslintCacheOptions) => boolean; export declare const buildEslintCommand: (args: string[], cacheLocation: string) => string[]; /** * Run ESLint with sensible absolutejs defaults. * * - Caching: enabled by default with ESLint's content strategy, so Git * operations that alter mtimes don't make unchanged files expensive. * Installed lint-tool or config changes invalidate the cache automatically. * The cache location is overridable via `ABSOLUTE_ESLINT_CACHE` * (default: `.absolutejs/eslint-cache`). * - Implicit lint target: `.` is appended only when the user hasn't * supplied a positional path of their own. So `bun lint src/backend/` * lints just that directory — not the whole repo plus `src/backend/`. * - `--clear-cache`: handled by this script (not passed to ESLint), * wipes the cache file and exits cleanly. * * NOTE: this script does NOT pass `--fix`. Autofixing is opt-in via the * standard ESLint flag — `bun lint --fix` works because user args are * spread through to the underlying `bun eslint` invocation. */ export declare const eslint: (args: string[]) => Promise; export {};