import type { KeyEvent } from "@opentui/core"; import type { ReactNode } from "react"; export declare function isEscapeKeyboardEvent(event: KeyEvent): boolean; export declare function isCtrlCKeyboardEvent(event: KeyEvent): boolean; export declare function isCancelKeyboardEvent(event: KeyEvent): boolean; export declare function emitInterruptSignal(source: string): void; export declare function useCancelKey(onCancel: () => void): void; interface PromptCancelBoundaryProps { onCancel: () => void; children: ReactNode; } export declare function PromptCancelBoundary({ onCancel, children }: PromptCancelBoundaryProps): ReactNode; export {}; //# sourceMappingURL=open-tui-cancel.d.ts.map