import React from 'react';
import { SlotSpec } from '@subscan/widget-core';
export declare const useStateValue: <T, TMethods = any, TSlots extends Record<string, SlotSpec> = Record<string, SlotSpec>>(defaultValue: T, mergeState?: ((partialState: Partial<Record<string, T>>) => void) | undefined, updateWhenDefaultValueChanges?: boolean | undefined, key?: string) => [T, React.Dispatch<React.SetStateAction<T>>];
