import type { RawAeiFinding } from '../types.ts';
/** File label used for findings about the dependency itself. */
export declare const DEPENDENCY_FILE_LABEL = "(dependency)";
export interface DependencySignals {
    /** Dependency ships ESM (input to the tree-shaking modifier). */
    esm: boolean;
    findings: RawAeiFinding[];
    /** Dependency declares `sideEffects: false`. */
    sideEffectsFree: boolean;
}
/** Walks up from `startDir` looking for `node_modules/<dependency>/package.json`. */
export declare function findDependencyDir(startDir: string, dependency: string): string | undefined;
/**
 * Inspects the installed dependency itself for coupling-risk signals
 * (API-EXPOSURE-INDEX.md section 6). Returns undefined when the dependency
 * cannot be located in node_modules.
 */
export declare function getDependencySignals(workspaceDir: string, dependency: string): DependencySignals | undefined;
//# sourceMappingURL=depSignals.d.ts.map