import { ReactNode } from 'react'; /** * Retrieves props from outside `JsonForms` via `MantineThemeProvider`. * * `name` selects the component's general properties, `path` selects the path-specific ones, * `componentProps` and `jsonFormsProps` are the component / JSON forms properties, and the options * toggle whether to include `all` properties and `componentProps`. Returns the optional custom * component and the props merged from `componentProps` and `MantineThemeProvider`. */ export declare function useContextProps(name: string, path: string, componentProps: Record, // #MUSTRECORD open-shape prop bag callers supply with arbitrary keys (`{ value, children }`, `{ legend, ...rest }`); typed-intersection signature breaks the spread call sites jsonFormsProps: TJsonForms, { withAllProps, withComponentProps }?: { withAllProps?: boolean; withComponentProps?: boolean; }): [ReactNode, Record];