import type { DisplayObjectConfig } from '@antv/g';
import type { NodePortStyleProps, Point } from '../../types';
import type { IconStyleProps, PolygonStyleProps } from '../shapes';
import { Polygon } from '../shapes/polygon';
/**
* 五角星节点样式配置项
*
* Star node style props
*/
export interface StarStyleProps extends PolygonStyleProps {
/**
* 内半径,默认为外半径的 3/8
*
* Inner radius, default is 3/8 of the outer radius
*/
innerR?: number;
}
/**
* 五角星节点
*
* Star node
*/
export declare class Star extends Polygon {
constructor(options: DisplayObjectConfig);
private getInnerR;
private getOuterR;
protected getPoints(attributes: Required): Point[];
protected getIconStyle(attributes: Required): false | IconStyleProps;
protected getPortXY(attributes: Required, style: NodePortStyleProps): Point;
}