import { ComponentType } from 'react'; import { EnumCellProps, OwnPropsOfLayout, OwnPropsOfEnum, LayoutProps, EnumOption, OwnPropsOfEnumCell } from '@jsonforms/core'; import { CustomControlProps } from '../util'; import { JsonFormsStateContext } from './JsonFormsContext'; export declare const ctxDispatchToSelectControlProps: (dispatch: any) => { updateStore: (path: string, toUpdate: any) => (event: { stopPropagation: () => void; }) => void; }; /** * Map state to EnumCells in a table or array * @param {*} Component */ export declare const customWithContextToEnumCellProps: (Component: ComponentType) => ComponentType; export declare const ctxToEnumCellGenProps: (ctx: JsonFormsStateContext, ownProps: EnumCellProps | any) => any; export declare const customWithJsonFormsEnumCellProps: (Component: any, memoize?: boolean) => ComponentType; export declare const ctxToCustomEnumControlProps: (ctx: JsonFormsStateContext, ownProps: OwnPropsOfEnum & CustomControlProps) => { options: EnumOption[] | undefined; cells?: { tester: import("@jsonforms/core").RankedTester; cell: any; }[] | undefined; label: string; description?: string | undefined; required?: boolean | undefined; i18nKeyPrefix?: string | undefined; uischema: import("@jsonforms/core").ControlElement; errors: string; data: any; rootSchema: import("@jsonforms/core").JsonSchema; id: string; config?: any; schema: import("@jsonforms/core").JsonSchema; enabled: boolean; visible: boolean; path: string; renderers?: import("@jsonforms/core").JsonFormsRendererRegistryEntry[] | undefined; customErrors?: any; locale?: any; muiInputProps?: any; customOptions?: any; enumOptions?: any; variant?: any; isDialogClose?: any; query?: any; }; export declare const customWithContextToInputControlProps: (Component: any) => ({ ctx, props }: any) => import("@emotion/react/jsx-runtime").JSX.Element; export declare const customWithJsonFormsInputControlProps: (Component: any, memoize?: boolean) => ComponentType; /** * Map state to table cells * @param {*} Component */ export declare const customWithContextToCellProps: (Component: any) => ({ ctx, props }: any) => import("@emotion/react/jsx-runtime").JSX.Element; export declare const customWithJsonFormsCellProps: (Component: any, memoize?: boolean) => ComponentType; export declare const ctxToNonEmptyCellProps: (ctx: any, ownProps: any) => { cellPath: any; displayPath: any; editMode: any; editRowIndex: any; rowPath: any; propName: any; schema: any; rootSchema: any; errors: string; path: any; enabled: any; visible: any; uischema: any; rowIndex: any; rowData: any; formData: any; cells: any; renderers: any; }; export declare const customCtxToLayoutProps: (ctx: JsonFormsStateContext, props: OwnPropsOfLayout) => LayoutProps; export declare const updateCtxDataProps: (Component: any) => ({ ctx, props }: any) => import("@emotion/react/jsx-runtime").JSX.Element; export declare const customWithUpdateCtxDataProps: (Component: any, memoize?: boolean) => ComponentType; export declare const customWithContextToTableViewProps: (Component: any) => ({ ctx, props }: any) => import("@emotion/react/jsx-runtime").JSX.Element; export declare const customWithJsonFormsTableViewProps: (Component: any, memoize?: boolean) => ComponentType;