import { TimeoutProps } from 'react-transition-group/Transition';
import React, { CSSProperties, HTMLAttributes, ReactElement, RefCallback } from 'react';
import { TransitionState } from '@wix/bex-core';
export interface CollapseProps<T> extends Omit<TimeoutProps<undefined>, 'in'> {
    children: ReactElement<{
        className?: string;
        style?: CSSProperties;
    }>;
    state: TransitionState<T>;
    dataHook?: string;
    style?: HTMLAttributes<HTMLDivElement>['style'];
    rootRef?: RefCallback<HTMLDivElement | null>;
}
declare function _Collapse<T>(props: CollapseProps<T>): React.JSX.Element;
export declare const Collapse: typeof _Collapse & {
    displayName: string;
};
export {};
//# sourceMappingURL=Collapse.d.ts.map