import { type Dispatch, type SetStateAction, type RefObject } from 'react'; /** * Hook for having a state combined with a ref object * @internal */ export declare function useReferencedState(initialState: S | (() => S)): [S, Dispatch>, RefObject];