import type { Ref } from "vue";
export type SetState<T> = (val: T | ((prevState: T) => T)) => void;
export declare function useState<T, R = Ref<T>>(defaultStateValue?: T | (() => T)): [R, SetState<T>];
