import ts from 'typescript';
import type { RawAeiFinding } from '../types.ts';
export interface ExposureWalkParams {
    /** Absolute paths of the entry-point source files to walk exports of. */
    entryFiles: string[];
    /** Maps an absolute path to the label used in findings (workspace-relative). */
    fileLabel?: (absolutePath: string) => string;
    program: ts.Program;
}
/** Extracts the owning package name from a `node_modules` path, if any. */
export declare function dependencyFromPath(fileName: string): string | undefined;
/**
 * Type-checker-backed exposure pass (API-EXPOSURE-INDEX.md section 4).
 * Walks every export of the package's entry points and attributes the types
 * that appear in the public API — including inferred function return types
 * and types reached through local aliases — to the dependencies that declare
 * them. Symbol attribution is by declaration path (`node_modules/<pkg>`),
 * so renaming and re-aliasing cannot hide a dependency.
 */
export declare function getExposureFindings({ entryFiles, fileLabel, program, }: ExposureWalkParams): RawAeiFinding[];
//# sourceMappingURL=exposureWalk.d.ts.map