import { EditorState, Schema, Plugin, PluginKey } from '../../prosemirror';
export declare type StateChangeHandler = (state: RuleState) => any;
export declare class RuleState {
    private state;
    constructor(state: EditorState<any>);
}
export declare const stateKey: PluginKey;
declare const plugins: (schema: Schema<any, any>) => Plugin[];
export default plugins;
