@reown/appkit-controllers
Version:
The full stack toolkit to build onchain app UX.
12 lines (11 loc) • 511 B
TypeScript
export interface OptionsStateControllerState {
isLegalCheckboxChecked: boolean;
}
type StateKey = keyof OptionsStateControllerState;
export declare const OptionsStateController: {
state: OptionsStateControllerState;
subscribe(callback: (newState: OptionsStateControllerState) => void): () => void;
subscribeKey<K extends StateKey>(key: K, callback: (value: OptionsStateControllerState[K]) => void): () => void;
setIsLegalCheckboxChecked(isLegalCheckboxChecked: boolean): void;
};
export {};