import React from 'react' import { StoreSchemaType } from '@ui-schema/ui-schema/CommonTypings' import { OrderedMap } from 'immutable' export interface SchemaRootContext { id?: string | undefined // the root schema for e.g. JSONPointer resolving schema?: StoreSchemaType definitions?: OrderedMap } export function SchemaRootProvider(props: React.PropsWithChildren) export function useSchemaRoot(): SchemaRootContext & C export function isRootSchema(schema: StoreSchemaType): boolean