import { PropsWithChildren, ElementType, ComponentPropsWithoutRef } from 'react'; import { EqualHeightContextProps } from './equal-height-context'; import { ElementsProps } from "./equal-height-holder"; export interface ElementsMaxSizesProps extends Pick { position?: number; } export interface HoldersInfoProps extends ElementsMaxSizesProps { id: string; } interface BaseProps { id?: string; equalRows?: EqualHeightContextProps['equalRows']; timeout?: number; animationSpeed?: EqualHeightContextProps['animationSpeed']; updateOnChange?: EqualHeightContextProps['updateOnChange']; developerMode?: EqualHeightContextProps['developerMode']; } export type Props = { as?: T; } & (T extends undefined ? BaseProps : BaseProps & ComponentPropsWithoutRef>); export declare const defaults: Omit & Pick & Required>; declare const EqualHeight: ({ as, children, id, timeout, animationSpeed, equalRows, updateOnChange, developerMode, ...props }: PropsWithChildren>) => import("react/jsx-runtime").JSX.Element; export default EqualHeight;