import { getCommandContext } from '../config.js'; import { type PluginRuntime } from '../plugin-runtime.js'; import { type TableScope } from '../table-scope.js'; export interface PluginLikeContext { config: Awaited>['config']; configPath: string; jsonMode: boolean; runtime: PluginRuntime; commandArgs: string[]; tableScope: TableScope; } interface BuildPluginLikeContextInput { args: string[]; command: 'plugin' | 'codegen' | 'pull'; handleInvalidPluginOptions?: boolean; } interface MissingPluginArgs { pluginName: string; availablePlugins: string[]; } interface MissingCommandArgs { pluginName: string; commandName: string; availableCommands: string[]; } interface RunPluginLikeCommandInput { context: PluginLikeContext; pluginName: string; commandName: string; commandArgs: string[]; missingPluginMessage?: (args: MissingPluginArgs) => string; missingCommandMessage?: (args: MissingCommandArgs) => string; } export declare function stripGlobalFlags(args: string[]): string[]; export declare function buildPluginLikeContext(input: BuildPluginLikeContextInput): Promise; export declare function runPluginLikeCommand(input: RunPluginLikeCommandInput): Promise; export {}; //# sourceMappingURL=plugin-like.d.ts.map