import { Vector3 } from "./class/vector3"; import { Face, LogicMode } from "./types"; import uuids from "./uuids"; export declare function assume(value: unknown): asserts value is T; export declare function objectOrId(obj: { getId(): number; } | number): number; export declare function getRotationPositionOffset(xaxis: number, zaxis: number): Vector3; export declare function getJointDirection(xaxis: number, zaxis: number): Vector3; export declare function getSuspensionLength(shapeId: string): number; export declare const logicGateModes: { AND: number; OR: number; XOR: number; NAND: number; NOR: number; XNOR: number; }; export declare const logicGateModeNames: LogicMode[]; export declare function getDefaultColor(shapeId: string): string; /** * Retrieves the shapeId of a part from its display name. * @param name The display name of the part. * @returns The shapeId of the part. */ export declare function UUID(name: keyof typeof uuids): string; /** * Converts a face and twist count to an axis rotation. * @param face The face to point the axis towards. * @param twists The number of twists to rotate the axis. * @returns The axis rotation. */ export declare function Rotation(face?: Face, twists?: 0 | 1 | 2 | 3): import("./types").Axis; export declare function isDriverSeat(shapeId: string): boolean; export declare const engineLevels: string[]; export declare const hornLevels: string[];