import type { MergedRollupOptions, RollupWarning } from './rollup'; export interface BatchWarnings { add: (warning: RollupWarning) => void; readonly count: number; flush: () => void; readonly warningOccurred: boolean; } export type LoadConfigFile = typeof loadConfigFile; export function loadConfigFile( fileName: string, commandOptions: any ): Promise<{ options: MergedRollupOptions[]; warnings: BatchWarnings; }>;