import React from 'react';
import { ButtonProps } from '@alifd/next/types/button';
export interface pageButton extends ButtonProps {
    name: string;
    func?: Function;
}
interface base {
    /** 标题 */
    title?: React.ReactNode;
    /** 内容 */
    content?: React.ReactNode;
    /** icon */
    icon?: React.ReactNode;
    /**page页面类型 */
    type?: 'success' | 'error' | 'warning' | 'noPower' | 'noRule' | 'noEquipment' | 'noContent' | 'imgFail' | 'arrears' | '404' | '500';
}
export interface propsType extends base {
    buttons?: pageButton[];
}
declare function Page(props: propsType): JSX.Element;
declare namespace Page {
    var empty: typeof EmptyPage;
    var result: typeof ResultPage;
    var unusual: typeof UnususlPage;
}
/** 为空页 */
interface EmptyType extends propsType {
    type: 'noRule' | 'noEquipment' | 'noContent';
}
declare function EmptyPage(props: EmptyType): JSX.Element;
/** 结果页 */
export interface ResultPageType extends base {
    /** 主按钮设置 */
    firstButtons: Function;
    /** 次要按钮 */
    secondButtons: Function;
    type: 'success' | 'error' | 'warning';
}
declare function ResultPage(props: any): JSX.Element;
/** 异常页 */
export interface unususlType extends propsType {
    /** 类型【noEquipment(无设备),noRule(无关联规则)】 */
    type: 'noPower' | '404' | '500' | 'imgFail' | 'noContent' | 'arrears';
}
declare function UnususlPage(props: unususlType): JSX.Element;
export default Page;
