import { Component } from 'react'; export declare type DataInspectorSetValue = (path: string[], val: any) => void; export declare type DataInspectorExpanded = { [key: string]: boolean; }; export declare type DiffMetadataExtractor = (data: any, diff: any, key: string) => { data: any; diff?: any; status?: 'added' | 'removed'; }[]; declare type DataInspectorControlledProps = { data: any; diff?: any; name?: string; depth: number; path: string[]; expandRoot?: boolean; expanded: DataInspectorExpanded; extractValue?: DataValueExtractor; onExpanded?: (expanded: DataInspectorExpanded) => void; setValue?: DataInspectorSetValue; collapsed?: boolean; ancestry: Object[]; tooltips?: Object; }; export declare const InspectorName: import("gloss").GlossView<{}, import("gloss").GlossProps<{}>>; export declare type DataValueExtractor = (value: any, depth: number) => { mutable?: boolean; type: string; value: any; } | undefined | null; export declare class DataInspectorControlled extends Component { static defaultProps: Partial; interaction: any; static isExpandable(data: any): boolean; shouldComponentUpdate(nextProps: DataInspectorControlledProps): boolean; isExpanded(pathParts: string[]): boolean; setExpanded(pathParts: string[], isExpanded: boolean): void; handleClick: () => void; extractValue: (data: any, depth: number) => any; render(): any; } export {}; //# sourceMappingURL=DataInspectorControlled.d.ts.map