import React from 'react'; import { Action, Dispatch } from 'redux'; import { LiftedState, Monitor } from '@redux-devtools/core'; import { DockMonitorAction } from './actions.js'; import { DockMonitorState } from './reducers.js'; 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.ComponentType>> & { update(monitorProps: ExternalProps>, state: DockMonitorState | undefined, action: DockMonitorAction): DockMonitorState; defaultProps: DefaultProps; }; export default _default;