export interface DepDict {
    [name: string]: DepTree;
}
export interface DepTree {
    name: string;
    version?: string;
    dependencies?: DepDict;
    packageFormatVersion?: string;
    _counts?: any;
    _isProjSubpkg?: boolean;
}
interface Options {
    debug?: boolean;
    file?: string;
}
export declare function inspect(root: any, targetFile: any, options?: Options): Promise<{
    plugin: {
        name: string;
        runtime: string | undefined;
        targetFile: any;
    };
    package: DepTree;
}>;
export declare function buildDepTreeFromImportsAndModules(root?: string, targetFile?: string): Promise<DepTree>;
export declare function jsonParse(s: string): any;
export {};
