import type { WrapWithContextOptions } from './types.js';
/**
 * Wrap the command with the context manager
 * This will make sure that the context manager is updated when needed
 * and that the command is executed in the correct context
 */
export declare function wrapWithContext<T extends (...args: any[]) => any>(opts: WrapWithContextOptions<T>): () => Promise<ReturnType<T>>;
//# sourceMappingURL=wrapWithContext.d.ts.map