import React from 'react';
import type { SelectorContextValue } from '../_shared/use-context-selector.js';
import type { Node as ProseMirrorNode, Mark } from '../tiptap/pm/model';
export type PmContentContextType = {
    content: ProseMirrorNode;
    storedMarks: readonly Mark[] | null;
    /**
     * Internal counter incremented when 'forceToolbarUpdate' transaction meta is set.
     * This forces context consumers (toolbars) to re-render on selection changes
     * that don't modify document content, such as completing a cell selection drag.
     * Needed for Wixel
     */
    _v: number;
};
export declare const PmContentContextProvider: ({ children, onSelectorContextValue, }: {
    children: React.ReactNode;
    onSelectorContextValue: (selectorContextValue: SelectorContextValue<PmContentContextType>) => void;
}) => React.JSX.Element;
//# sourceMappingURL=pm-content-context.d.ts.map