declare type SetActionType = Partial | ((state: T) => Partial); export default function useFrameSetState(initial: T): [Record, (newState: SetActionType) => void]; export {};