import { DrawingID, ObjectID, WorkGeomType } from '@buerli.io/core'; /** * @deprecated use getWorkGeometry() instead, getWorkCoordSystem() will be removed in a future release. * * Returns all workcoordsystems of given reference with specified name. * If _wcsName_ is undefined, all workcoordsystems of given reference will be returned. * * @param drawingId The drawing id. * @param refId The product reference to look for wcs. * @param wcsName The name of wcs to look for. * @returns An array of ids of all workcoordsystems found. The array is empty if nothing was found. */ export declare const getWorkCoordSystem: (drawingId: DrawingID, refId: ObjectID, wcsName?: string) => ObjectID[]; /** * Returns all work geometry of given type and given reference with specified name. * If wgName is undefined, all work geometry of given reference will be returned. * * @param drawingId The drawing id. * @param refId The product reference to look for work geometry. * @param type The type of work geometry to look for * @param wgName The name of work geometry to look for. * @returns An array of ids of all found work geometry. The array is empty if nothing was found. */ export declare const getWorkGeometry: (drawingId: DrawingID, refId: ObjectID, type: WorkGeomType, wgName?: string) => ObjectID[]; /** * Returns all sketch regions of given reference with specified name. * If sketchRegionName is undefined, all sketch regions of given reference will be returned. * * @param drawingId The drawing id. * @param refId The product reference to look for sketch region. * @param sketchRegionName The name of sketch region to look for. * @returns An array of ids of all found sketch regions. The array is empty if nothing was found. */ export declare const getSketchRegion: (drawingId: DrawingID, refId: ObjectID, sketchRegionName?: string) => number[]; export declare const getSketch: (drawingId: DrawingID, refId: ObjectID, sketchName?: string) => number[]; /** * Returns all sketch lines from a sketch or sketch regions * @param sketchOrRegionIds id of the sketch or ids of the sketch regions * @returns the sketchlines as array or undefined if empty */ export declare const getSketchlines: (drawingId: DrawingID, sketchOrRegionIds: number | number[]) => number[] | undefined; export declare const calculateRollbackMovement: (oldIndex: number, newIndex: number, featureIds: ObjectID[], offset?: number) => { moveTo: 'end' | 'before'; featureId: ObjectID; index: number; };