import { DrawingID, ObjectID, SelectedItem, ScgTree } from '@buerli.io/core'; export declare function getGraphicId(tree: ScgTree, refOrObjId: ObjectID): { graphicId: number; isSolid: boolean; }; /** * Creates Selected Items for the feature references and id of a geometry. * If there is no corresponding graphics in the cache the empty array will be returned. * This hook check cache stamp, * so when the new graphics will be downloaded this hook returns refreshed array. * * An array of @see SelectedItem will be returned. * * @param drawingId The drawing id. * @param refOrObjIds The ids of the objects or references to find. * @returns An array of @see SelectedItem */ export declare function useSelectedItems(drawingId: DrawingID, refOrObjIds: ObjectID[]): SelectedItem[];