import { Plugin, EditorState } from 'prosemirror-state'; import { Transform } from 'prosemirror-transform'; import { Schema } from 'prosemirror-model'; import { CustomstyleDropDownCommand } from './ui/CustomstyleDropDownCommand'; import type { StyleRuntime } from './StyleRuntime'; export type CustomstylePluginOptions = { chunkBudgetMs?: number; chunkIdleMs?: number; }; export declare class CustomstylePlugin extends Plugin { constructor(runtime: StyleRuntime, hideNumbering?: boolean, options?: CustomstylePluginOptions); initButtonCommands(): { '[H1] Header 1': typeof CustomstyleDropDownCommand; }; static setLevelCounter(styleCounter: any): void; getEffectiveSchema(schema: Schema): Schema, keyof import("orderedmap").default>; } export declare function onInitAppendTransaction(ref: any, tr: any, nextState: any, startPos?: number, budgetMs?: number, scheduleNext?: any): any; export declare function onUpdateAppendTransaction(ref: any, tr: any, nextState: any, prevState: any, csview: any, transactions: any, slice1: any): any; export declare function applyStyleForPreviousEmptyParagraph(nextState: EditorState, tr: Transform): Transform; export declare function applyStoredMarksAfterHardBreak(nextState: EditorState, tr: Transform): Transform; export declare function remapCounterFlags(tr: any): void; export declare function applyStyles(state: EditorState, tr?: Transform): Transform; export declare function applyStylesTimeBatched(state: EditorState, startPos?: number, budgetMs?: number): { tr: Transform; lastPos: number; done: boolean; }; export declare function nodeAssignment(state: any): any[]; export declare function applyStyleForEmptyParagraph(nextState: any, tr: any): any; export declare function applyStyleForNextParagraph(prevState: any, nextState: any, tr: any, view: any): any; export declare function resetTheDefaultStyleNameToNone(styleName: any): any; export declare function setNodeAttrs(nextLineStyleName: any, newattrs: any): any; export declare function isDocChanged(transactions: any): any; export declare function applyNormalIfNoStyle(nextState: any, tr: any, node: any, opt?: any): any; export declare function applyHangingIndentTransform(tr: any, state: any, node: any, pos: any, isPaste: any): any; export declare function removeHangingIndentOnBackspaceOrDelete(prevState: any, nextState: any, tr: any, lastKeyCode: any): any;