import {
  ButtonOrLinkConfig,
  ButtonOrLinkConsumer,
  ButtonOrLinkRoot,
} from './ButtonOrLink.parts.tsx'

export const ButtonOrLink = Object.assign(ButtonOrLinkRoot, {
  Config: ButtonOrLinkConfig,
  Consumer: ButtonOrLinkConsumer,
})

export { useAncestorButtonOrLink } from './ButtonOrLink.parts.tsx'

export type {
  ButtonOrLinkProps,
  ButtonOrLinkState,
  ButtonOrLinkRenderState,
  ButtonOrLinkConfigProps,
  InternalButtonOrLinkProps,
  OmitInternalButtonOrLinkProps,
} from './ButtonOrLink.parts.tsx'
