import type { ConnectionEditEntry, Toolbox, ToolboxEditEntry } from "../toolbox.js"; import type { VNode } from "snabbdom"; /** * Generates the preview for a toolbox/connection edit if available. * If no preview is available, undefined is returned. * * @param context The toolbox context * @param editEntry The toolbox/connection edit * @returns The preview or undefined */ export declare function generatePreviewIfAvailable(context: Toolbox, editEntry: ToolboxEditEntry | ConnectionEditEntry): VNode | undefined; //# sourceMappingURL=preview.d.ts.map