import type { ToolExecutionOptions } from "ai";
export declare function createResolvablePromise<T>(): {
    promise: Promise<T>;
    resolve: (value: T) => void;
    reject: (reason?: any) => void;
};
export declare function useToolConfirmationWrapper(): {
    wrapToolExecution: <T extends (...args: any[]) => Promise<any>>(toolName: string, toolArgs: any, toolExecution: ToolExecutionOptions, executeFn: T) => Promise<ReturnType<T>>;
};
