import { AttachShapeOptions } from '@rpgjs/common'; type ZoneDirection = "up" | "down" | "left" | "right"; /** * Radius of an attached shape: `radius`, or half of the largest side when only * `width` and `height` are given. `undefined` when neither is provided. */ export declare function resolveAttachedShapeRadius(options: AttachShapeOptions): number | undefined; /** * Offset of an attached shape from the owner body center, from its positioning. */ export declare function resolveAttachedShapeOffset(positioning: AttachShapeOptions["positioning"], owner: { width?: number; height?: number; radius?: number; }): { x: number; y: number; }; /** Zone direction of an attached shape. `Direction` values are already strings. */ export declare function resolveAttachedShapeDirection(direction: AttachShapeOptions["direction"]): ZoneDirection; /** Zone metadata carrying the shape name and properties, or `undefined` when empty. */ export declare function buildAttachedShapeMetadata(options: AttachShapeOptions): Record | undefined; export {};