export declare const useState: >(initialState?: T, options?: { onChange?: (state: T, payload: Partial) => void; }) => readonly [Readonly, (val: Partial, silent?: boolean) => void];