@shutootaki/gwm
Version:
git worktree manager CLI
16 lines • 551 B
TypeScript
import React from 'react';
export type ConfirmChoice = 'trust' | 'once' | 'cancel';
interface HookConfirmationProps {
/** Reason why confirmation is required */
reason: 'first-time' | 'config-changed';
/** List of commands to be executed */
commands: string[];
/** Callback to receive the user's choice */
onChoice: (choice: ConfirmChoice) => void;
}
/**
* Hooks execution confirmation prompt
*/
export declare const HookConfirmation: React.FC<HookConfirmationProps>;
export {};
//# sourceMappingURL=HookConfirmation.d.ts.map