import { ReactNode } from 'react'; export type AffixPosition = 0 | 0.5 | 1 | 1.5 | 2 | 'unset'; export interface AffixProps { /** * Affix children */ children?: ReactNode; /** * Additional class. */ className?: string; /** * Position of Affix. * @default sticky */ position?: 'sticky' | 'fixed'; /** * Spacing from the top of the Container. * @default 1.5rem */ top?: AffixPosition; /** * Spacing from the bottom of the Container. * @default unset */ bottom?: AffixPosition; /** * Spacing from the left of the Container. * @default unset */ left?: AffixPosition; /** * Spacing from the right of the Container. * @default unset */ right?: AffixPosition; /** * Determine what element(s) the top/bottom values should be relative to * @default ['header'] */ relative?: Array<'header'> | 'window'; } export declare const Affix: (props: AffixProps) => JSX.Element; export default Affix;