export declare const useCurrentState: (initLayout: T) => readonly [T, import("react").Dispatch>, import("react").RefObject];