import Entity from "../../../Entity";
import {EntityComponentDataset} from "../../../EntityComponentDataset";
import Vector2 from "../../../../../core/geom/Vector2";
import {RadialMenuElementDefinition} from "../../../../../view/elements/radial/RadialMenuElementDefinition";

interface RadialMenuOptions {
    ecd: EntityComponentDataset,
    position: Vector2,
    items: RadialMenuElementDefinition[],
    innerRadius?: number
    outerRadius?: number,
    backdropInnerRadius?: number
    backdropOuterRadius?: number
    focusWidth?: number
    backgroundColor?: string
    padding?: number
    autoLayout?: boolean,
    pointerPosition?: Vector2
    selectionDistance?: number
}

export function makeMenu(options: RadialMenuOptions): Entity;
