import type * as React from 'react';
import { type BaseUIComponentProps } from "../../internals/types.mjs";
/**
* A portal element that moves the popup to a different part of the DOM.
* By default, the portal element is appended to `
`.
* Renders a `` element.
*
* Documentation: [Base UI Drawer](https://base-ui.com/react/components/drawer)
*/
export declare const DrawerPortal: DrawerPortal;
export interface DrawerPortalState {}
export interface DrawerPortalProps extends BaseUIComponentProps<'div', DrawerPortalState> {
/**
* Whether to keep the portal mounted in the DOM while the popup is hidden.
* @default false
*/
keepMounted?: boolean | undefined;
/**
* A parent element to render the portal element into.
*/
container?: HTMLElement | ShadowRoot | React.RefObject | null | undefined;
}
export interface DrawerPortal {
(componentProps: DrawerPortalProps & React.RefAttributes): React.JSX.Element | null;
}
export declare namespace DrawerPortal {
type Props = DrawerPortalProps;
type State = DrawerPortalState;
}