/** * Get the current editor context for menu logic * * @param {Object} editor - The editor instance * @param {MouseEvent} [event] - Optional mouse event (for context menu) * @returns {Promise} context - Enhanced editor context with comprehensive state information */ export function getEditorContext(editor: Object, event?: MouseEvent): Promise; export function resolveContextMenuCommandEditor(editor: any): any; export function getPropsByItemId(itemId: string, props: Object): Object; declare function getStructureFromResolvedPos(state: any, pos: any): { isInTable: boolean; isInList: boolean; isInSectionNode: boolean; } | null; declare function isCollaborationEnabled(editor: any): boolean; declare function getCellSelectionInfo(state: any): { isCellSelection: boolean; tableSelectionKind: null; } | { isCellSelection: boolean; tableSelectionKind: string; }; /** * Resolve proofing context at a position. * Returns null if proofing is not active or no issue exists at the position. */ declare function resolveProofingContext(editor: any, pos: any): { issue: any; suggestions: any; canIgnore: any; word: any; /** Ignore this word for the current session. */ ignoreWord: (word: any) => any; } | null; declare function choosePreferredTrackedChangeId(marks: any): any; export { getStructureFromResolvedPos as __getStructureFromResolvedPosForTest, isCollaborationEnabled as __isCollaborationEnabledForTest, getCellSelectionInfo as __getCellSelectionInfoForTest, resolveProofingContext as __resolveProofingContextForTest, choosePreferredTrackedChangeId as __choosePreferredTrackedChangeIdForTest }; //# sourceMappingURL=utils.d.ts.map