import { FormContextType, RJSFSchema, Registry, StrictRJSFSchema } from './types.js'; /** Given a React JSON Schema Form registry or formContext object, return the value associated with `toLookup`. This * might be contained within the lookup map in the formContext. If no such value exists, return the `fallback` * value. * * @param regOrFc - The @rjsf registry or form context in which the lookup will occur * @param toLookup - The name of the field in the lookup map in the form context to get the value for * @param [fallback] - The fallback value to use if the form context does not contain a value for `toLookup` * @returns - The value associated with `toLookup` in the form context or `fallback` */ export default function lookupFromFormContext(regOrFc: Registry | Registry['formContext'], toLookup: string, fallback?: unknown): any;