import { WorkspaceFolder, AllAppResults, AppFolders } from "../models/Types";
declare type WsFolders = WorkspaceFolder[] | string[] | undefined;
export declare class AppFoldersUtils {
    static isWorkspaceFolder(value: WorkspaceFolder[] | string[]): value is WorkspaceFolder[];
    static findAll(root: string, filename: string, stopFolders: string[], files: string[]): Promise<void>;
    static findProject(wsRoot: string, files: string[]): Promise<void>;
    static findAllPackageJsonFolders(wsFolders: WsFolders): Promise<string[]>;
    static findAllManifest(wsFolders: WsFolders): Promise<string[]>;
    static findProjectRoot(path: string): Promise<string>;
    static findRootsForPath(path: string): Promise<{
        projectRoot: string;
    } | undefined>;
    static findAllApps(wsFolders: WorkspaceFolder[]): Promise<AllAppResults[]>;
    static findAllSubFolders(folder: string): Promise<string[]>;
    static getAppFolders(app: AllAppResults): Promise<AppFolders>;
    static mergeAppFolders(source: AppFolders, target: AppFolders): void;
    static findAllProjectRoots(wsFolders: WorkspaceFolder[] | string[] | undefined): Promise<string[]>;
    static getProjectRootFromPath(roots: string[], path: string): string | undefined;
    static getProjectPathByFile(filePath: string, workspaceRoots: WorkspaceFolder[]): Promise<string | undefined>;
}
export {};
