declare namespace PROAPI {
    type TableProProps = {
        configName: string;
        config: any;
        fixed?: {
            left: number,
            right: number
        };
        title?: string;
        tips?: JSX.Element; // 提示
        czChild?: JSX.Element;
        leftChild?: JSX.Element;
        ajax?: any;//接口刷新
        size?: 'small' | 'middle' | 'large',
        className?: string,//自定义class
        total?: number;
    };
    type State = {
        columns: any[];
        configObj: { [key: string]: string; };
        defaultColumns: any[];
    };
    type HeaderContentProps = {
        isFullscreen: boolean;
        setIsFullscreen: React.Dispatch<React.SetStateAction<boolean>>;
        isFull: boolean;
        toggleFull: () => void;
        setVisible: React.Dispatch<React.SetStateAction<boolean>>;
        czChild?: JSX.Element;
        leftChild?: JSX.Element;
        ajax?: any; //接口刷新
    };
    type TableContentProps = {
        total?: number;
        page?: number;
        pageSize?: number;
        pageChange?: (page: number, pageSize?: number) => void,
    }
}