import * as React from 'react';
declare type Props = {
    titlebar: {
        use: boolean;
        title: string;
        component: React.ComponentType<any> | null;
        height: number;
    };
    width: number;
    isFulling: () => boolean;
    toggleWindowSize: () => void;
    handleMouseDown: (e: React.MouseEvent<any>) => void;
    removeWindow: () => void;
};
declare class TitleBar extends React.Component<Props> {
    render(): JSX.Element | null;
}
export default TitleBar;
