import * as React from 'react';
import type { ValueSyncStore } from '../../../util/events/sync-store';
import type { PeritextSurfaceState } from '../../web';
import type { DebugState } from './state';
export interface DebugRenderersContextValue {
    state: DebugState;
    flags: {
        dom: ValueSyncStore<boolean>;
        editor: ValueSyncStore<boolean>;
        peritext: ValueSyncStore<boolean>;
        model: ValueSyncStore<boolean>;
    };
    ctx: PeritextSurfaceState;
}
export declare const context: React.Context<DebugRenderersContextValue>;
export declare const useDebugCtx: () => DebugRenderersContextValue;
