import {
  ButtonMode,
  ButtonType
} from '@idux/components/button/src/types'

export {}

declare global {
  namespace PageTypes {
    interface Fun {
      danger?: boolean
      disabled?: boolean
      icon?: string
      loading?: boolean
      mode?: ButtonMode
      type?: ButtonType
      waveless?: boolean
      onClick?: (e: MouseEvent) => void
      title?: string
      permission?: string
    }
  }
}
