import type { DispatchPropsOfControl, GroupLayout, UISchemaElement } from "@jsonforms/core"; import { OwnPropsOfRenderer } from "@jsonforms/core"; import { ComponentType } from "react"; import Ajv from 'ajv'; import { JsonFormsStateContext } from "../react"; import { Theme } from "@mui/material"; export type PartialBy = Pick, K> & Omit; /** * Interface for updating properties of a UI element */ export interface PropertyUischemaUpdatesProps { property: string; search?: PropertyKey; fromDependency?: string; valueFrom?: string; valueFromProperty?: string; value: string | number | boolean | any | any[]; } export interface LayoutRendererProps extends OwnPropsOfRenderer { elements: UISchemaElement[]; direction?: 'row' | 'column'; } export interface AjvProps { ajv: Ajv; } export declare const withAjvProps:

(Component: ComponentType) => (props: P) => import("@emotion/react/jsx-runtime").JSX.Element; export interface LayoutLabelProps extends LayoutRendererProps { label?: string; } export interface CustomControlProps { customErrors?: any; locale?: any; muiInputProps?: any; customOptions?: any; enumOptions?: any; variant?: any; isDialogClose?: any; label?: string; query?: any; } export interface JsonFormsTheme extends Theme { jsonforms?: { input?: { delete?: { background?: string; }; }; }; } export interface GroupLayoutProps extends GroupLayout { extraText?: any; } export interface NonEmptyCellProps { css: any; rowIndex: any; } export interface DirectionProps { directon?: 'row' | 'column' | undefined; } export interface WithContext { ctx: JsonFormsStateContext; } export interface I18nOwnProps { i18nKeyPrefix?: string; } export interface LocationFilterProps { level: number; maxLevel: number; minLevel: number; } export interface LocationRootFilterProps { accessLevel: string; userOnly: boolean; search: boolean; withinUserHierarchy: boolean; userDataViewOnly: boolean; } export interface DispatchArrayLayoutPropsOfControl extends DispatchPropsOfControl { addItem(path: string, value: any): () => any; removeItem(path: string, value: number): () => void; } export interface DispatchSubmitPropsOfLayout extends DispatchPropsOfControl { handleSave(path: string, value: any): () => any; handleUpdate(path: string, value: number): () => void; }