import React from 'react';
import type { CollapseProps as FusionCollapseProps, PanelProps } from '@alifd/next/types/collapse';
interface CollapseProps extends FusionCollapseProps {
    /**
     * collapse 类型，默认为 normal，可选值为 card
     */
    type?: 'card' | 'default';
}
declare const _default: React.ForwardRefExoticComponent<CollapseProps & React.RefAttributes<unknown>> & {
    Panel: import("@alifd/next/types/config-provider/types").ConfiguredComponentClass<PanelProps & import("@alifd/next/types/config-provider/types").ComponentCommonProps, {
        onKeyDown: (e: React.KeyboardEvent<HTMLElement>) => void;
        render(): React.JSX.Element;
        context: any;
        setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<PanelProps>) => {} | Pick<{}, K_1>) | Pick<{}, K_1>, callback?: () => void): void;
        forceUpdate(callback?: () => void): void;
        readonly props: Readonly<PanelProps> & Readonly<{
            children?: React.ReactNode;
        }>;
        state: Readonly<{}>;
        refs: {
            [key: string]: React.ReactInstance;
        };
        componentDidMount?(): void;
        shouldComponentUpdate?(nextProps: Readonly<PanelProps>, nextState: Readonly<{}>, nextContext: any): boolean;
        componentWillUnmount?(): void;
        componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
        getSnapshotBeforeUpdate?(prevProps: Readonly<PanelProps>, prevState: Readonly<{}>): any;
        componentDidUpdate?(prevProps: Readonly<PanelProps>, prevState: Readonly<{}>, snapshot?: any): void;
        componentWillMount?(): void;
        UNSAFE_componentWillMount?(): void;
        componentWillReceiveProps?(nextProps: Readonly<PanelProps>, nextContext: any): void;
        UNSAFE_componentWillReceiveProps?(nextProps: Readonly<PanelProps>, nextContext: any): void;
        componentWillUpdate?(nextProps: Readonly<PanelProps>, nextState: Readonly<{}>, nextContext: any): void;
        UNSAFE_componentWillUpdate?(nextProps: Readonly<PanelProps>, nextState: Readonly<{}>, nextContext: any): void;
    }, {}> & {
        isNextPanel: boolean;
    };
} & import("hoist-non-react-statics").NonReactStatics<import("@alifd/next/types/config-provider/types").ConfiguredComponentClass<FusionCollapseProps & import("@alifd/next/types/config-provider/types").ComponentCommonProps, {
    onItemClick(key: import("@alifd/next/types/collapse/types").KeyType): void;
    genratePanelId(itemId: string, index: number): string;
    getProps(item: import("@alifd/next/types/collapse/types").DataItem, index: number, key: import("@alifd/next/types/collapse/types").KeyType): {
        key: import("@alifd/next/types/collapse/types").KeyType;
        title: React.ReactNode;
        isExpanded: boolean;
        disabled: boolean;
        id: string;
        onClick: () => void;
    };
    getItemsByDataSource(): React.JSX.Element[];
    getItemsByChildren(): React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
    setExpandedKey(expandedKeys: import("@alifd/next/types/collapse/types").KeyType[]): void;
    render(): React.JSX.Element;
    context: any;
    setState<K extends "expandedKeys">(state: {
        expandedKeys: import("@alifd/next/types/collapse/types").KeyType[];
    } | ((prevState: Readonly<{
        expandedKeys: import("@alifd/next/types/collapse/types").KeyType[];
    }>, props: Readonly<FusionCollapseProps>) => {
        expandedKeys: import("@alifd/next/types/collapse/types").KeyType[];
    } | Pick<{
        expandedKeys: import("@alifd/next/types/collapse/types").KeyType[];
    }, K>) | Pick<{
        expandedKeys: import("@alifd/next/types/collapse/types").KeyType[];
    }, K>, callback?: () => void): void;
    forceUpdate(callback?: () => void): void;
    readonly props: Readonly<FusionCollapseProps> & Readonly<{
        children?: React.ReactNode;
    }>;
    state: Readonly<{
        expandedKeys: import("@alifd/next/types/collapse/types").KeyType[];
    }>;
    refs: {
        [key: string]: React.ReactInstance;
    };
    componentDidMount?(): void;
    shouldComponentUpdate?(nextProps: Readonly<FusionCollapseProps>, nextState: Readonly<{
        expandedKeys: import("@alifd/next/types/collapse/types").KeyType[];
    }>, nextContext: any): boolean;
    componentWillUnmount?(): void;
    componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
    getSnapshotBeforeUpdate?(prevProps: Readonly<FusionCollapseProps>, prevState: Readonly<{
        expandedKeys: import("@alifd/next/types/collapse/types").KeyType[];
    }>): any;
    componentDidUpdate?(prevProps: Readonly<FusionCollapseProps>, prevState: Readonly<{
        expandedKeys: import("@alifd/next/types/collapse/types").KeyType[];
    }>, snapshot?: any): void;
    componentWillMount?(): void;
    UNSAFE_componentWillMount?(): void;
    componentWillReceiveProps?(nextProps: Readonly<FusionCollapseProps>, nextContext: any): void;
    UNSAFE_componentWillReceiveProps?(nextProps: Readonly<FusionCollapseProps>, nextContext: any): void;
    componentWillUpdate?(nextProps: Readonly<FusionCollapseProps>, nextState: Readonly<{
        expandedKeys: import("@alifd/next/types/collapse/types").KeyType[];
    }>, nextContext: any): void;
    UNSAFE_componentWillUpdate?(nextProps: Readonly<FusionCollapseProps>, nextState: Readonly<{
        expandedKeys: import("@alifd/next/types/collapse/types").KeyType[];
    }>, nextContext: any): void;
}, {}> & {
    Panel: import("@alifd/next/types/config-provider/types").ConfiguredComponentClass<PanelProps & import("@alifd/next/types/config-provider/types").ComponentCommonProps, {
        onKeyDown: (e: React.KeyboardEvent<HTMLElement>) => void;
        render(): React.JSX.Element;
        context: any;
        setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<PanelProps>) => {} | Pick<{}, K_1>) | Pick<{}, K_1>, callback?: () => void): void;
        forceUpdate(callback?: () => void): void;
        readonly props: Readonly<PanelProps> & Readonly<{
            children?: React.ReactNode;
        }>;
        state: Readonly<{}>;
        refs: {
            [key: string]: React.ReactInstance;
        };
        componentDidMount?(): void;
        shouldComponentUpdate?(nextProps: Readonly<PanelProps>, nextState: Readonly<{}>, nextContext: any): boolean;
        componentWillUnmount?(): void;
        componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
        getSnapshotBeforeUpdate?(prevProps: Readonly<PanelProps>, prevState: Readonly<{}>): any;
        componentDidUpdate?(prevProps: Readonly<PanelProps>, prevState: Readonly<{}>, snapshot?: any): void;
        componentWillMount?(): void;
        UNSAFE_componentWillMount?(): void;
        componentWillReceiveProps?(nextProps: Readonly<PanelProps>, nextContext: any): void;
        UNSAFE_componentWillReceiveProps?(nextProps: Readonly<PanelProps>, nextContext: any): void;
        componentWillUpdate?(nextProps: Readonly<PanelProps>, nextState: Readonly<{}>, nextContext: any): void;
        UNSAFE_componentWillUpdate?(nextProps: Readonly<PanelProps>, nextState: Readonly<{}>, nextContext: any): void;
    }, {}> & {
        isNextPanel: boolean;
    };
}, {}>;
export default _default;
export type { CollapseProps, PanelProps };
