import type * as React from 'react';
import { type ReactNode } from 'react';
import type { EditorState, LexicalEditor } from 'lexical';
interface ContextType {
    onChange?: (editorState: EditorState, editor: LexicalEditor, tags: Set<string>) => void;
}
export declare const SharedOnChangeContext: ({ children, onChange, }: {
    children: ReactNode;
    onChange: (editorState: EditorState, editor: LexicalEditor, tags: Set<string>) => void;
}) => React.JSX.Element;
export declare const useSharedOnChange: () => ContextType;
export {};
