/** @hidden */
/// <reference path="../../../../../vendor/i18next.d.ts" />
//@ts-ignore

import { i18n as i18nInstance } from 'i18next';
//@ts-ignore
import React, { Component } from 'react';
//@ts-ignore
import { Size } from '@grapecity/core-ui';
import { ReportViewer } from '../../control';
import { Model } from './types';
type Props = {
    viewer: ReportViewer;
    onPanelChange?: (panelId: string | null) => void;
    i18n: i18nInstance;
    size: Size;
    /**
     * Default width of sidebar - number of pixels or valid CSS length
     */
    defaultWidth?: number | string;
};
type SidebarState = Model & {
    narrowScreen: boolean;
    isToolbarVisible: boolean;
    isFullscreen: boolean;
    enableSidebarInFullscreen: boolean;
};
/** @hidden */
export declare class SidebarView extends Component<Props, SidebarState> {
    static contextType: any;
    private _disposables;
    constructor(props: Props);
    componentWillUnmount(): void;
    private onStateChange;
//@ts-ignore
//@ts-ignore
    render(): React.JSX.Element | null;
}
export {};
