import type { BarrelDescriptor } from '../lint-init.ts';
export type BarrelRestrictionIssueKind = 'incomplete' | 'missing';
export interface BarrelRestrictionIssue {
    descriptor: BarrelDescriptor;
    kind: BarrelRestrictionIssueKind;
    missingFromConfig: string[];
    usedSubPackages: string[];
}
export declare function findBarrelImportRestrictionIssues(rootDir: string): Promise<BarrelRestrictionIssue[]>;
export declare function reportBarrelImportRestrictionIssues(issues: readonly BarrelRestrictionIssue[]): number;
export declare function checkBarrelImportRestrictions(rootDir: string): Promise<number>;
//# sourceMappingURL=checkBarrelImportRestrictions.d.ts.map