import { type HTMLStyleProp, Ref, type StateProp } from '@innet/dom'; import { type CloseButtonProps } from '../../buttons'; import { type FlexProps } from '../../layout'; interface PopoutElementProps extends Omit { element?: Ref; contentStyle?: HTMLStyleProp; onhide: () => void; rootRef?: Ref; background?: StateProp; closeButton?: CloseButtonProps | boolean; } export interface PopoutProps extends Omit { show?: StateProp; background?: StateProp; onhide?: () => void; closeButton?: CloseButtonProps | boolean; } export interface PopoutElementData { rect: DOMRect; styles: CSSStyleDeclaration; } export declare function Popout({ show, onhide, ...props }: PopoutProps): any; export {};