import type { Rule } from "../types.js"; declare function findDsPackageDir(repoRoot: string, componentsModule: string): string | null; declare function findIndexFile(packageDir: string): string | null; interface ExportSurface { starReexports: number; namedReexports: number; namedDeclarations: number; exportedNames: Set; } declare function analyseExports(content: string): ExportSurface; export declare const rule: Rule; export declare const _internal: { analyseExports: typeof analyseExports; findDsPackageDir: typeof findDsPackageDir; findIndexFile: typeof findIndexFile; INDEX_CANDIDATES: string[]; MIN_NAMED_EXPORTS: number; }; export {};