export type ToolConfirmationState = {
    isOpen: boolean;
    toolName: string;
    toolArgs: any;
    toolExecution: any;
    onConfirm: () => void;
    onCancel: () => void;
};
export declare const toolConfirmationStateAtom: import("jotai").PrimitiveAtom<ToolConfirmationState> & {
    init: ToolConfirmationState;
};
export declare const autoAcceptToolsAtom: import("jotai").PrimitiveAtom<true | string[]> & {
    init: true | string[];
};
export declare function useToolConfirmation(): {
    state: ToolConfirmationState;
    showToolConfirmation: (toolName: string, toolArgs: any, toolExecution: any, onConfirm: () => void, onCancel: () => void) => void;
    closeToolConfirmation: () => void;
};
export declare function useAutoAcceptTool(): {
    shouldAutoAccept: (toolName: string) => boolean;
};
