/// <reference types="react" />
import { CollapseProps as AntDCollapseProps, CollapsePanelProps as AntDCollapsePanelProps } from 'antd';
import { Interpolation, Theme as EmotionTheme } from '@emotion/react';
import type { CollapsibleType } from 'antd/lib/collapse/CollapsePanel';
export interface CollapseProps {
    /** If true, Collapse renders as Accordion */
    accordion?: boolean;
    /** Key of the active panel */
    activeKey?: Array<string | number> | string | number;
    /** Specify whether the panels of children be collapsible or the trigger area of collapsible */
    collapsible?: CollapsibleType;
    /** Key of the initial active panel */
    defaultActiveKey?: Array<string | number> | string | number;
    /** Destroy Inactive Panel */
    destroyInactivePanel?: boolean;
    /** Callback function executed when active panel is changed */
    onChange?: (key: string | string[]) => void;
    /** Escape hatch to allow passing props directly to the underlying Ant `TabPane` component. */
    dangerouslySetAntdProps?: Partial<AntDCollapseProps>;
    /** Applies emotion styles to the top-level element in the component. Ask in #dubois before using. */
    dangerouslyAppendEmotionCSS?: Interpolation<EmotionTheme>;
}
export interface CollapsePanelProps {
    /** Unique key identifying the panel from among its siblings */
    key: string | number;
    /** Title of the panel */
    header: React.ReactNode;
    /** Specify whether the panel be collapsible or the trigger area of collapsible */
    collapsible?: CollapsibleType;
    /** Forced render of content on panel, instead of lazy rending after clicking on header */
    forceRender?: boolean;
    /** Escape hatch to allow passing props directly to the underlying Ant `TabPane` component. */
    dangerouslySetAntdProps?: Partial<AntDCollapsePanelProps>;
    /** Applies emotion styles to the top-level element in the component. Ask in #dubois before using. */
    dangerouslyAppendEmotionCSS?: Interpolation<EmotionTheme>;
}
interface CollapseInterface extends React.FC<CollapseProps> {
    Panel: React.FC<CollapsePanelProps>;
}
export declare const Collapse: CollapseInterface;
export declare const CollapsePanel: React.FC<CollapsePanelProps>;
export {};
//# sourceMappingURL=Collapse.d.ts.map