Path2D: {
    prototype: Path2D;
    new (path?: string | Path2D): Path2D;
}

Type declaration