//#region src/components/pinVerifyModal/types.d.ts
interface PinVerifyModalProps {
  onOpen?: () => void;
  onClose?: () => void;
  onSuccess?: (params?: VerifyPinSuccessParams) => void;
}
interface PinVerifyModalRef {
  open: (params: ModalParams) => void;
  close: () => void;
}
interface ModalParams {
  wallet_code: string;
  wallet_detail_id: string | number;
  failed_count?: number;
  check_max_count?: number;
  customer?: {
    display_name?: string;
    nickname?: string;
    cover?: string;
  };
}
interface VerifyPinSuccessParams {
  customer_id: string | number;
  customer_pin_key: string;
}
//#endregion
export { PinVerifyModalProps, PinVerifyModalRef };