import { FC, ReactNode } from 'react'; import { ButtonType } from 'acud/lib/button/button'; import './index.less'; export interface PageTitleBtnProps { id?: string; type?: ButtonType; disabled?: boolean; text: ReactNode; tooltip?: any; className?: string; btnAction?: () => void; } export interface PageTitleProps { title?: ReactNode; backText?: string; backUrl?: string | object & { pathname: string; }; defaultBackUrl?: string; backParams?: any; className?: string; custom?: ReactNode; extra?: ReactNode; btnConfig?: PageTitleBtnProps[]; description?: ReactNode; } declare const PageTitle: FC; export default PageTitle;