import { type Config, type CollectFn } from '@redocly/openapi-core'; import type { Arguments } from 'yargs'; import type { CommandArgv } from './types.js'; export type CommandArgs = { argv: T; config: Config; version: string; collectSpecData?: CollectFn; }; export declare function commandWrapper(commandHandler?: (wrapperArgs: CommandArgs) => Promise): (argv: Arguments) => Promise; //# sourceMappingURL=wrapper.d.ts.map