import * as React from 'react'; import { StyleProps } from './DataRenderer'; export interface Props { data: Object | Array; style?: StyleProps; shouldExpandNode?: (level: number, value: any, field?: string) => boolean; } export declare const defaultStyles: StyleProps; export declare const darkStyles: StyleProps; export declare const allExpanded: () => boolean; export declare const collapseAllNested: (level: number) => boolean; export declare const JsonView: ({ data, style, shouldExpandNode }: Props) => React.JSX.Element;