import type { Ref, UnwrapRef } from 'vue'; export declare type Updater = (prev: State) => State; export declare function useLayoutState(defaultState: State): [Ref, (updater: Updater) => void]; /** Lock frame, when frame pass reset the lock. */ export declare function useTimeoutLock(defaultState?: State): [(state: UnwrapRef) => void, () => UnwrapRef | null];