import type { DefaultConfigOptions } from "./swagger.js";
/**
 * main 方法的返回结果
 */
export interface IMainResult {
    options: DefaultConfigOptions;
    /**
     * 实际加载的配置文件路径，未加载时为 undefined
     */
    configPath?: string;
}
/**
 * 解析 CLI 参数并加载配置文件，合并得到最终选项。
 * 优先级：CLI 参数 > 配置文件 > 默认值
 */
export declare const resolveOptions: () => Promise<IMainResult>;
/**
 * 主入口
 */
export declare const main: () => Promise<IMainResult>;
//# sourceMappingURL=cli.d.ts.map