{"version":3,"file":"Button.types.mjs","sourceRoot":"","sources":["../../../src/components/Button/Button.types.ts"],"names":[],"mappings":"","sourcesContent":["import type {\n  ButtonPropsShared,\n  ButtonVariant,\n} from '@metamask/design-system-shared';\n\nimport type { ButtonPrimaryProps } from './variants/ButtonPrimary';\nimport type { ButtonSecondaryProps } from './variants/ButtonSecondary';\nimport type { ButtonTertiaryProps } from './variants/ButtonTertiary';\n\nexport type ButtonProps = ButtonPropsShared &\n  (\n    | (Omit<ButtonPrimaryProps, 'ref'> & {\n        variant?: typeof ButtonVariant.Primary;\n      })\n    | (Omit<ButtonSecondaryProps, 'ref'> & {\n        variant?: typeof ButtonVariant.Secondary;\n      })\n    | (Omit<ButtonTertiaryProps, 'ref'> & {\n        variant?: typeof ButtonVariant.Tertiary;\n      })\n  );\n"]}