export interface ExternalPackageUsage {
    defaultReferences: ExternalUsageReference[];
    hasDefault: boolean;
    hasNamespace: boolean;
    named: Set<string>;
    namedReferences: Map<string, ExternalUsageReference[]>;
    namespaceReferences: ExternalUsageReference[];
}
export interface ExternalUsageReference {
    column: number;
    exportPath: string;
    file: string;
    kind: 'default' | 'named' | 'namespace';
    line: number;
    specifier: string;
}
export type ExternalUsageMap = Map<string, ExternalPackageUsage>;
export interface ExternalReExportReference {
    column: number;
    exportedName?: string;
    exporterPackage: string;
    file: string;
    importedName?: string;
    isTypeOnly: boolean;
    kind: 'named' | 'namespace';
    line: number;
    sourceExportPath: string;
    sourcePackage: string;
    specifier: string;
}
export interface ExternalUsageCollection {
    reExports: ExternalReExportReference[];
    usage: ExternalUsageMap;
}
export declare function getSpecifierExportPath(specifier: string): string;
export declare function collectExternalUsageDetails(folderRoots: string[], targetPackageNames: Set<string>): ExternalUsageCollection;
export declare function collectExternalUsage(folderRoots: string[], targetPackageNames: Set<string>): ExternalUsageMap;
//# sourceMappingURL=collectExternalUsage.d.ts.map