import { BehaviorSubject } from 'rxjs'; import { SavedFormatting } from '../../state/formattings'; import { Model, type ObjApi } from '../../../../../json-crdt/model'; import type { ObjNode } from '../../../../../json-crdt/nodes'; import type { Inline } from '../../../../../json-crdt-extensions'; import type { ToolbarState } from '../../state'; export declare class FormattingManageState { readonly state: ToolbarState; readonly inline: Inline | undefined; readonly selected$: BehaviorSubject>>> | null>; readonly view$: BehaviorSubject<"view" | "edit">; readonly editing$: BehaviorSubject>>> | undefined>; constructor(state: ToolbarState, inline: Inline | undefined); getFormattings$(inline?: Inline | undefined): BehaviorSubject; readonly select: (formatting: SavedFormatting | null) => void; readonly switchToViewPanel: () => void; readonly switchToEditPanel: () => void; readonly returnFromEditPanelAndSave: () => void; } export declare class SavedShadowFormatting extends SavedFormatting { readonly saved: SavedFormatting; protected _model: Model; constructor(saved: SavedFormatting); conf(): ObjApi | undefined; }