export declare type SetStateCompileFn = (data: T) => void; export declare type SetStateAction = (state: T, fn?: SetStateCompileFn) => void; declare function useSyncState(state: T): [T, SetStateAction]; export default useSyncState;