import { Dispatch, SetStateAction } from 'react';
type DispatchObj<T> = [T | undefined, Dispatch<SetStateAction<T | undefined>>];
declare function useDynamicStateFn<T>(): [(key: string) => DispatchObj<T>, (key: string) => DispatchObj<T>];
export declare const useDynamicState: typeof useDynamicStateFn;
export {};
