import React from 'react'; import { DefaultProps } from '../../styles'; import { PortalProps } from '../portal'; export interface AffixProps extends DefaultProps, React.ComponentPropsWithoutRef<'div'> { /** Element where portal should be rendered, by default new div element is created and appended to document.body */ target?: HTMLDivElement; /** Root element z-index property */ zIndex?: React.CSSProperties['zIndex']; /** Determines whether component should be rendered within portal, defaults to true */ withinPortal?: boolean; /** Props to pass down to the portal when withinPortal is true */ portalProps?: Omit; /** Affix position on screen, defaults to { bottom: 0, right: 0 } */ position?: { top?: string | number; left?: string | number; bottom?: string | number; right?: string | number; }; } export declare const Affix: React.ForwardRefExoticComponent>;