import React from 'react'; import { Action, Dispatch } from 'redux'; import { LiftedState, Monitor } from 'redux-devtools'; import { DockMonitorAction } from './actions'; import { DockMonitorState } from './reducers'; interface ExternalProps> { defaultPosition: 'left' | 'top' | 'right' | 'bottom'; defaultIsVisible: boolean; defaultSize: number; toggleVisibilityKey: string; changePositionKey: string; changeMonitorKey?: string; fluid: boolean; dispatch: Dispatch; children: Monitor, unknown, Action> | Monitor, unknown, Action>[]; } interface DefaultProps { defaultIsVisible: boolean; defaultPosition: 'left' | 'top' | 'right' | 'bottom'; defaultSize: number; fluid: boolean; } export interface DockMonitorProps> extends LiftedState { defaultPosition: 'left' | 'top' | 'right' | 'bottom'; defaultIsVisible: boolean; defaultSize: number; toggleVisibilityKey: string; changePositionKey: string; changeMonitorKey?: string; fluid: boolean; dispatch: Dispatch; children: Monitor, unknown, Action> | Monitor, unknown, Action>[]; } declare const _default: (React.ComponentClass>, any> & { update(monitorProps: ExternalProps>, state: DockMonitorState | undefined, action: DockMonitorAction): DockMonitorState; defaultProps: DefaultProps; }) | (React.FunctionComponent>> & { update(monitorProps: ExternalProps>, state: DockMonitorState | undefined, action: DockMonitorAction): DockMonitorState; defaultProps: DefaultProps; }); export default _default;