/** Options for a field whose list is keyed by another field's value: the list follows whatever is * chosen there. A plain list is its own options; a keyed one offers nothing until that field is set. */ export declare function dependentOptions(options: readonly T[] | Record, parentValue: unknown): readonly T[]; /** The value of the field at `path`, rendering again only when it changes; undefined without a path. */ export declare function useFieldAt(path: string | undefined): unknown; /** A field's options and the value of the field its `depends_on` names, which keys them. */ export declare function useDependentOptions(options: readonly T[] | Record, dependsOn: string | undefined): { options: readonly T[]; parentValue: unknown; };