import React, { ReactNode } from 'react'; import { PageTitleBtnProps, PageTitleProps } from '../pageTitle'; import { LoadingProps } from '../../../common/Loading'; import { EmptyStatusProps } from '../../EmptyStatus'; import './index.less'; declare type PageTitleRenderType = (props: any) => React.ReactNode; interface BackType { to?: string; backText?: string; type?: 'arrow' | 'button'; } declare type TitleProps = PageTitleProps & { title?: ReactNode; backUrl?: string; backOptions?: BackType; btnConfig?: PageTitleBtnProps[]; pageTitleRender?: PageTitleRenderType; }; interface DescriptionProps { description?: ReactNode; descLink?: string; locale: { detail: string; }; } declare type TabListProps = { key: string; tab: ReactNode; content: ReactNode; description?: ReactNode; descLink?: string; }[]; declare type OnChangeMD = (activeKey: string) => void; interface TabProps { defaultActiveKey?: string; activeKey?: string; onChange?: OnChangeMD; tabRouter?: string; history?: any; } export declare type ProLayoutProps = TitleProps & DescriptionProps & { loading?: boolean; loadingProps?: LoadingProps; emptyStatusProps?: EmptyStatusProps; tabList?: TabListProps; tabInfo?: TabProps; prefixCls?: string; }; declare const ProLayout: React.FC; export { ProLayout };