import { PrintSaveInterface } from "../models/print-save.model"; import type { JSONPath } from "jsonpath-plus"; import type { Tag } from "./inputs/tag-inputs"; export interface PreviewDataInterface { data: unknown; viewMode?: "data" | "schema" | "metadata" | undefined; hidden?: boolean | undefined; } export interface PreviewCSVInterface { data: string | unknown[][]; columnSeparator?: string | undefined; rowSeparator?: string | undefined; startRow?: number | undefined; maxRows?: number | undefined; hidden?: boolean | undefined; } export interface PreviewAssemblyHierarchyInterface { data: unknown; hidden?: boolean | undefined; } export declare class ContextBase { /** The Blockly workspace, put here by the host. Nothing in these packages reads it. */ blocklyWorkspace: unknown; /** @deprecated verbnurbs is unmaintained; this and the API over it come out in the next major. */ verb: any; /** The OCCT instance, put here by the host. Nothing in these packages reads it. */ occ: unknown; /** * The jsonpath-plus query, put here by the renderer packages. It takes the library's own type: * its callable is a set of overloads, one of which requires an option the others reject, and a * local restatement of the shape this code calls cannot satisfy that set. */ jsonpath: typeof JSONPath; canvasZoneClass: string; promptPrintSave: (prompt: PrintSaveInterface) => void; promptPrint: (prompt: PrintSaveInterface) => void; promptPreviewData: (data: PreviewDataInterface) => void; promptPreviewCSV: (data: PreviewCSVInterface) => void; promptPreviewAssemblyHierarchy: (data: PreviewAssemblyHierarchyInterface) => void; rerenderScene: () => void; tolerance: number; snapTolerance: number; tagBag: Tag.TagDto[]; timeoutBag: number[]; intervalBag: number[]; renderLoopBag: ((timePassedFromPreviousIteration: number) => void)[]; keyDownBag: ({ key: string; fn: () => void; })[]; keyUpBag: ({ key: string; fn: () => void; })[]; keyPressBag: ({ key: string; fn: () => void; })[]; currentlyPressedKeys: string[]; getFile(file: File): Promise; remap(value: number, from1: number, to1: number, from2: number, to2: number): number; }