11import * as React from 'react' ;
22
3- export interface ReactJsonViewProps {
3+ declare export interface ReactJsonViewProps {
44 /**
55 * This property contains your input JSON.
66 *
@@ -125,7 +125,7 @@ export interface ReactJsonViewProps {
125125 validationMessage ?: string ;
126126}
127127
128- export interface OnCopyProps {
128+ declare export interface OnCopyProps {
129129 /**
130130 * The JSON tree source object
131131 */
@@ -140,7 +140,7 @@ export interface OnCopyProps {
140140 name : string | null ;
141141}
142142
143- export interface CollapsedFieldProps {
143+ declare export interface CollapsedFieldProps {
144144 /**
145145 * The name of the entry.
146146 */
@@ -159,7 +159,7 @@ export interface CollapsedFieldProps {
159159 namespace : Array < string | null > ;
160160}
161161
162- export interface InteractionProps {
162+ declare export interface InteractionProps {
163163 /**
164164 * The updated subtree of the JSON tree.
165165 */
@@ -186,7 +186,7 @@ export interface InteractionProps {
186186 new_value ?: object | string | number | boolean | null ;
187187}
188188
189- export interface OnSelectProps {
189+ declare export interface OnSelectProps {
190190 /**
191191 * The name of the currently selected entry.
192192 */
@@ -207,7 +207,7 @@ export interface OnSelectProps {
207207
208208}
209209
210- export interface ThemeObject {
210+ declare export interface ThemeObject {
211211 base00 : string ;
212212 base01 : string ;
213213 base02 : string ;
@@ -226,7 +226,7 @@ export interface ThemeObject {
226226 base0F : string ;
227227}
228228
229- export type ThemeKeys =
229+ declare export type ThemeKeys =
230230 | 'apathy'
231231 | 'apathy:inverted'
232232 | 'ashes'
@@ -265,5 +265,5 @@ export type ThemeKeys =
265265 | 'tube'
266266 | 'twilight' ;
267267
268- const ReactJson : React . ComponentType < ReactJsonViewProps > ;
269- export default ReactJson ;
268+ declare const ReactJson : React . ComponentType < ReactJsonViewProps > ;
269+ declare export default ReactJson ;
0 commit comments