import { BundleConfig, BundlessConfig } from '../builder/config'; import { type Api } from '../types'; export declare type DoctorReport = { type: 'error' | 'warn'; problem: string; solution: string; }[]; /** * register all built-in rules */ export declare function registerRules(api: Api): void; /** * get top-level source dirs from configs */ export declare function getSourceDirs(bundleConfigs: BundleConfig[], bundlessConfigs: BundlessConfig[]): string[]; declare const _default: (api: Api) => Promise; export default _default;