import * as React from 'react';
import Divider from './views/divider';
import { MobileProps } from '../common/platform';
import './index.scss';
export interface WcontainerProps extends MobileProps {
    className?: string;
    style?: React.CSSProperties;
    width?: string | number;
    height?: string | number;
    arrange?: 'normal' | 'cross';
    title?: React.ReactNode;
    titleBorder?: boolean;
    operation?: React.ReactNode;
    titleStyle?: React.CSSProperties;
    contentStyle?: React.CSSProperties;
    fullContent?: boolean;
    catchError?: boolean;
    onError?(error: Error, info: React.ErrorInfo): boolean | void;
}
interface WcontainerState {
    criticalError?: Error;
}
declare class Wcontainer extends React.Component<WcontainerProps, WcontainerState> {
    static displayName: string;
    static defaultProps: {
        arrange: string;
        height: string;
        operation: string;
        titleBorder: boolean;
        catchError: boolean;
    };
    static divider: typeof Divider;
    static combiner: string;
    constructor(props: WcontainerProps);
    renderTitle(title: React.ReactNode, titleBorder: boolean, operation: React.ReactNode, titleStyle: React.CSSProperties): React.JSX.Element;
    renderMainNormal(contentStyle: React.CSSProperties, fullContent: boolean): React.JSX.Element;
    renderMainCross(contentStyle: React.CSSProperties): React.JSX.Element;
    renderError(): React.JSX.Element;
    container: HTMLDivElement;
    render(): React.JSX.Element;
}
export default Wcontainer;
