UNPKG

444 BTypeScriptView Raw
1import type { Handler } from '@remirror/core-types';
2import { PlainExtension } from '../extension';
3import type { StateUpdateLifecycleProps } from '../types';
4export interface DocChangedOptions {
5 docChanged?: Handler<(props: StateUpdateLifecycleProps) => void>;
6}
7export declare class DocChangedExtension extends PlainExtension<DocChangedOptions> {
8 get name(): "docChanged";
9 onStateUpdate(props: StateUpdateLifecycleProps): void;
10}