import * as React from 'react';
import type { ToolbarState } from './state';
import type { PeritextSurfaceState } from '../../web';
export interface ToolbarPluginContextValue {
    surface: PeritextSurfaceState;
    toolbar: ToolbarState;
}
export declare const context: React.Context<ToolbarPluginContextValue>;
export declare const useToolbarPlugin: () => ToolbarPluginContextValue;
