import { default as React } from 'react'; export type QQCloseChoice = 'hide' | 'exit'; interface QQCloseDialogProps { /** After "确定", callback with the selected option (hide to tray / quit program). */ onConfirm: (choice: QQCloseChoice) => void; /** Cancel closing (click "取消" or the title-bar x). */ onCancel: () => void; } /** * Confirmation dialog when closing QQ (#refine-qq) - recreates classic QQ2006: * two radio options "Hide to the taskbar notification area / Quit program" * + OK / Cancel, ported to body, centered on screen. * "Remember my choice" is a decorative realism item (not persisted), consistent * with other QQ business buttons that are visible but not wired up. */ declare const QQCloseDialog: React.FC; export default QQCloseDialog;