export declare function subscribe(componentId: symbol, component: { requestUpdate: () => void; }): void; export declare function clearState(componentId: symbol): void; export declare function useState(initialValue: T): [T, (val: T | ((prev: T) => T)) => void];