import { fabric } from 'fabric'; declare class StaticVectorObject extends fabric.Group { static type: string; src: string; initialize(objects: any, options: any, others: any): this; toObject(propertiesToInclude?: any[]): any; toJSON(propertiesToInclude?: any[]): any; static fromObject(options: any, callback: Function): void; } export declare type SvgOptions = fabric.Group & { text: string; }; declare module 'fabric' { namespace fabric { class StaticVector extends StaticVectorObject { constructor(objects: any, options: any, others: any); } } } export default StaticVectorObject;