export type ProjectAnalyzeResolutionReason = "empty-import" | "explicit-path" | "package-export" | "package-source-entry" | "package-root" | "tsconfig-path" | "usage-scan";
export type ProjectAnalyzeTarget = {
    importFrom: string | string[];
    packageName?: string;
    resolutionReason: ProjectAnalyzeResolutionReason;
    rootDir: string;
    warnings: string[];
};
export type ProjectPackage = {
    dir: string;
    name: string;
    packageJsonPath: string;
};
export type ProjectSetup = {
    packages: ProjectPackage[];
    rootDir: string;
    warnings: string[];
};
export declare function resolveCandidatePackageDirs(rootDir: string): string[];
export declare function resolveProjectSetup(rootDir: string): ProjectSetup;
export declare function resolveProjectAnalyzeTarget(input: {
    importFrom: string | string[];
    rootDir: string;
    scannerType: "components" | "usage";
}): ProjectAnalyzeTarget | null;
//# sourceMappingURL=project-setup-resolver.d.ts.map