import { type PolymorphicComponentProps } from "../Polymorphic"; export interface FloatingIndicatorOwnProps { /** Target element over which indicator should be displayed */ target?: HTMLElement | null; /** Parent element with relative position based on which indicator position should be calculated */ parent?: HTMLElement | null; /** Transition duration in ms * @default 150 */ transitionDuration?: number | string; /** Determines whether indicator should be displayed after transition ends, should be set if used inside a container that has `transform: scale(n)` styles */ displayAfterTransitionEnd?: boolean; } export type FloatingIndicatorProps = PolymorphicComponentProps; declare const defaultElement = "div"; /** 多态组件, ref会转发给实际的组件 */ export declare function FloatingIndicator(props: FloatingIndicatorProps): import("react").JSX.Element | null; export {};