import React, { ReactNode, FC } from 'react'; import { TagType } from 'antd'; declare type Tag = React.ReactElement; interface PageHeaderProps { backIcon?: ReactNode | boolean; extra?: ReactNode; footer?: ReactNode; subTitle?: ReactNode; tags?: Tag | Tag[]; title?: ReactNode; onBack?: (e?: React.MouseEvent) => void; style?: React.CSSProperties; } interface AffixProps { offsetTop?: number; offsetBottom?: number; target?: () => HTMLElement; onChange?: (affixed?: boolean) => void; style?: React.CSSProperties; } export interface PageContainerProps { hideHeader?: boolean; header?: PageHeaderProps; affixProps?: AffixProps; style?: React.CSSProperties; bodyStyle?: React.CSSProperties; maxWidth?: number | 'auto'; children?: ReactNode; } declare const PageContainer: FC; export default PageContainer; export declare const PageHeaderApi: FC; export declare const AffixApi: FC;