import { PaneContainer, PaneProvider, PaneRoot, PaneToggleButton } from './Pane.parts.tsx'

export const Pane = Object.assign(PaneRoot, {
  Provider: PaneProvider,
  Container: PaneContainer,
  ToggleButton: PaneToggleButton,
})

export { usePane } from './Pane.parts.tsx'

export type {
  PaneContainerProps,
  PaneProps,
  PaneProviderProps,
  PaneToggleButtonProps,
  UsePaneOptions,
} from './Pane.parts.tsx'
