import type { FrameworkInfo, ResolvedConfig } from './types'; export interface ConfigOverrides { noCache?: boolean; include?: string[]; exclude?: string[]; outDir?: string; } export declare function loadConfig(rootInput: string, overrides?: ConfigOverrides): ResolvedConfig; /** Reads the merged dependency map (deps + devDeps) of a package.json, if present. */ export declare function readDeps(dir: string): Record; /** * Detect the framework(s) used in a directory. `inheritedDeps` lets a monorepo * workspace inherit dependencies hoisted to the repo root (so `next`/`react` * declared once at the root are still seen by each workspace). Directory probes * (`app/`, `pages/`) are always resolved relative to `dir`. */ export declare function detectFramework(dir: string, inheritedDeps?: Record): FrameworkInfo; /** Returns workspace package roots (relative) for monorepos. Empty if single-pkg. */ export declare function detectWorkspaces(root: string): { name: string; path: string; }[]; export declare const constants: { DEFAULT_INCLUDE: string[]; DEFAULT_EXCLUDE: string[]; };