import type { Resources, ObjectResource } from './resources'; import { Matrix3D } from './components'; import { ValidationError } from './errors'; /** * Represents a build item linking an object resource with a transform and optional part number */ export interface BuildItem { objectId: number; object: ObjectResource; transform: Matrix3D; partnumber?: string; path?: string; uuid?: string; } /** * Error thrown when build parsing fails */ export declare class BuildParseError extends ValidationError { constructor(message: string); } /** * Parse build instructions from parsed XML object and resources * @param modelXml Parsed XML object from fast-xml-parser * @param resources Resources object returned by parseResources() * @returns Array of BuildItem preserving order * @throws BuildParseError when parsing fails or validation errors occur */ export declare function parseBuild(modelXml: any, resources: Resources): BuildItem[]; /** * Parse build instructions from XML content and resources * @param modelXmlContent XML content string of the 3D model part * @param resources Resources object returned by parseResourcesFromXml() * @returns Array of BuildItem preserving order * @throws BuildParseError when parsing fails or validation errors occur */ export declare function parseBuildFromXml(modelXmlContent: string, resources: Resources): BuildItem[]; //# sourceMappingURL=build.d.ts.map