/**
 * 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<Object>} context - Enhanced editor context with comprehensive state information
 */
export function getEditorContext(editor: Object, event?: MouseEvent): Promise<Object>;
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;
};
export { getStructureFromResolvedPos as __getStructureFromResolvedPosForTest, isCollaborationEnabled as __isCollaborationEnabledForTest, getCellSelectionInfo as __getCellSelectionInfoForTest };
//# sourceMappingURL=utils.d.ts.map