export declare function useUIPluginState<State>(onUpdate: (callback: (state: State) => void) => void): State | undefined;
