import { Command } from '@oclif/command'; export interface Context { command: Command; } export interface PluginResult { ok: boolean; } export interface CodegenPlugin { run(context: Ctx): Promise; } export interface Config { context?: Ctx; pipeline: CodegenPlugin[]; } export declare function runPipeline(config: Config): Promise; export declare function loadConfig(file: string): Config;