import * as React from 'react'; import { BaseUIComponentProps } from "../../internals/types.mjs"; /** * A viewport for displaying content transitions. * This component is only required if one popup can be opened by multiple triggers, its content * changes based on the trigger, and switching between them is animated. * Renders a `
` element. * * Documentation: [Base UI Popover](https://base-ui.com/react/components/popover) */ export declare const PopoverViewport: React.ForwardRefExoticComponent & React.RefAttributes>; export interface PopoverViewportState { /** * The activation direction of the transitioned content. */ activationDirection: string | undefined; /** * Whether the viewport is currently transitioning between contents. */ transitioning: boolean; /** * Present if animations should be instant. */ instant: 'dismiss' | 'click' | 'focus' | 'trigger-change' | undefined; } export interface PopoverViewportProps extends BaseUIComponentProps<'div', PopoverViewportState> { /** * The content to render inside the transition container. */ children?: React.ReactNode; } export declare namespace PopoverViewport { type Props = PopoverViewportProps; type State = PopoverViewportState; }