import { IViewerCapabilities, TemplateReducerFunction } from '../api/common';
import { Dispatch } from 'redux';
export declare type CommonTemplateState = {
    isResizing: boolean;
    setIsResizing: (flag: boolean) => void;
    locale: string;
    capabilities: IViewerCapabilities;
    showSelection: boolean;
    showLegend: boolean;
    showTaskPane: boolean;
    onDragStart: () => void;
    onDragEnd: () => void;
    onSplitterChanged: () => void;
    onActiveElementChanged: (id: "Legend" | "TaskPane" | "Selection") => void;
    dispatch: Dispatch<any>;
};
export declare function useCommonTemplateState(templateReducer?: TemplateReducerFunction): CommonTemplateState;
