import type { Ref, UnwrapRef } from 'vue';
export type SetStateAction<T> = (newValue: T) => void;
export type SetStateCallback<T, K = void> = (_newValue: T) => K;
export declare const useState: <T>(initialValue: T, callback?: SetStateCallback<T>, formatter?: SetStateCallback<T, T>) => [Ref<UnwrapRef<T>>, SetStateAction<T>];
