import { AcDbAttribute, AcDbBlockReference, AcDbEntity, AcDbObjectId } from '@mlightcad/data-model'; /** * Returns whether the entity is a block reference with at least one attribute. */ export declare function isAttributedBlockReference(entity: AcDbEntity | undefined | null): entity is AcDbBlockReference; /** * Resolves a block reference from a picked INSERT or ATTRIB entity. */ export declare function resolveAttributedBlockReference(entity: AcDbEntity | undefined | null): AcDbBlockReference | undefined; /** * Looks up the ATTDEF prompt for a tag in the referenced block definition. */ export declare function findAttributePrompt(blockRef: AcDbBlockReference, tag: string): string; /** * Collects attributes attached to a block reference. */ export declare function listBlockAttributes(blockRef: AcDbBlockReference): AcDbAttribute[]; /** * Prompts the user to select a block reference that has attributes. * * @param message - Prompt shown while picking. * @param rejectMessage - Shown when the picked class is not allowed. * @param noAttributesMessage - Shown when a valid INSERT/ATTRIB is picked but * the block has no editable attributes (defaults to `rejectMessage`). */ export declare function promptAttributedBlockReference(message: string, rejectMessage: string, noAttributesMessage?: string): Promise; /** * Shared state and helpers for the Enhanced Attribute Editor (`attedit`). */ export declare function useAttEdit(): { targetObjectId: import('vue').Ref; setTargetObjectId: (objectId: AcDbObjectId | null) => void; getTargetObjectId: () => string | null; getTargetBlockReference: () => AcDbBlockReference | undefined; clearTarget: () => void; }; //# sourceMappingURL=useAttEdit.d.ts.map