/** * Reads the value of a `responseKey` from the store `entries` and writes it back * through `updateEntries`, so the rendered value and the submitted payload cannot diverge. * * The seed is only a fallback while the key is absent from `entries`, and is never written * on mount: the backend owns the value through `sessionState` and `deprecatedStateKeys`. * * @param userFlow - Identifier for the current user flow. * @param responseKey - Key of the component inside `entries`. * @param seed - JSON `value` of the node, used only while `responseKey` is absent. */ export declare const useEntryValue: (userFlow: string, responseKey: string, seed: T) => readonly [T, (next: T) => void];