import { default as React } from 'react';
import { BaseProps } from '../../types';

export type BusinessPanelHierarchy = 'primary' | 'secondary';
export interface BusinessPanelProps extends BaseProps {
    /** 层级：primary（仅关闭按钮）| secondary（含返回按钮），默认 primary */
    hierarchy?: BusinessPanelHierarchy;
    /** 标题 */
    title?: React.ReactNode;
    /** 关闭按钮点击 */
    onClose?: () => void;
    /** 返回按钮点击（secondary 时生效） */
    onBack?: () => void;
    /** 内容区 */
    children?: React.ReactNode;
}
export declare const BusinessPanel: React.ForwardRefExoticComponent<BusinessPanelProps & React.RefAttributes<HTMLDivElement>>;
//# sourceMappingURL=BusinessPanel.d.ts.map