import * as React from 'react'; import type { PeritextSurfaceState } from '../../web'; import type { ValueSyncStore } from '../../../util/events/sync-store'; export interface MinimalPluginContextValue { ctx: PeritextSurfaceState; /** Current score. */ score: ValueSyncStore; /** By how much the score changed. */ scoreDelta: ValueSyncStore; /** The last score that was shown to the user. */ lastVisScore: ValueSyncStore; } export declare const context: React.Context; export declare const usePlugin: () => MinimalPluginContextValue;