import { App, Workspace, WorkspaceLeaf, WorkspaceSplit } from "obsidian"; import ExcalidrawPlugin from "../main"; import { ModifierKeys } from "./ModifierkeyHelper"; export declare const getParentOfClass: (element: Element, cssClass: string) => HTMLElement | null; export declare const getLeaf: (plugin: ExcalidrawPlugin, origo: WorkspaceLeaf, ev: ModifierKeys) => WorkspaceLeaf; export declare const getNewOrAdjacentLeaf: (plugin: ExcalidrawPlugin, leaf: WorkspaceLeaf) => WorkspaceLeaf | null; export declare const getAttachmentsFolderAndFilePath: (app: App, activeViewFilePath: string, newFileName: string) => Promise<{ folder: string; filepath: string; }>; export declare const isObsidianThemeDark: () => boolean; export type ConstructableWorkspaceSplit = new (ws: Workspace, dir: "horizontal" | "vertical") => WorkspaceSplit; export declare const getContainerForDocument: (doc: Document) => any; export declare const cleanSectionHeading: (heading: string) => string; export declare const cleanBlockRef: (blockRef: string) => string; export declare const legacyCleanBlockRef: (blockRef: string) => string;