import Triangle from './Triangle';

export default function (
    config?: Triangle.IConfig
): Triangle;

export default function (
    x?: number, y?: number,
    width?: number, height?: number,
    fillColor?: number, fillAlpha?: number
): Triangle;