import { FabricObject } from './Object/FabricObject'; import type { FabricObjectProps, SerializedObjectProps } from './Object/types'; import type { TClassProperties, TOptions } from '../typedefs'; import type { ObjectEvents } from '../EventTypeDefs'; export declare const triangleDefaultValues: Partial>; export declare class Triangle = Partial, SProps extends SerializedObjectProps = SerializedObjectProps, EventSpec extends ObjectEvents = ObjectEvents> extends FabricObject implements FabricObjectProps { static type: string; static ownDefaults: Partial, SerializedObjectProps, ObjectEvents>>>; static getDefaults(): Record; /** * Constructor * @param {Object} [options] Options object */ constructor(options?: Props); /** * @private * @param {CanvasRenderingContext2D} ctx Context to render on */ _render(ctx: CanvasRenderingContext2D): void; /** * Returns svg representation of an instance * @return {Array} an array of strings with the specific svg representation * of the instance */ _toSVG(): string[]; } //# sourceMappingURL=Triangle.d.ts.map