import {poly, be, dom} from "shape-poly";
interface PolyInterface {
side?: number;
split?: number;
strokeWidth: number | string;
className?: string;
starRadius?: number;
container?: HTMLElement;
direction?: DIRECTION;
stroke?: string;
}
function poly(options: PolyInterface);
function dom(el: HTMLElement);
function be(el: HTMLElement, options: PolyInterface);
import {poly, be, dom} from "shape-poly";
const el = poly({starRadius: 50, side: 10, strokeWidth: "5px"});
document.body.appendChild(el);
be(el, {side: 5, strokeWidth: "5px"})
dom(document.querySelector(".triangle"));