declare type ICheckFunction = { (packageName: string): boolean; }; export declare type IRule = ICheckFunction | string | RegExp | string[]; export interface IFilterOptions { include?: IRule; exclude?: IRule; autoDetect?: boolean; } export default function getCompileDeps(packages: string[], rootDir: string, { include, exclude, autoDetect }: IFilterOptions): Promise; export {};