/**
 * @fileoverview defs
 * @author dengfuping_develop@163.com
 */
declare class Defs {
    id: string;
    defaultArrow: {};
    children: any[];
    el: SVGDefsElement;
    canvas: SVGSVGElement;
    constructor(canvas: any);
    find(type: any, attr: any): any;
    findById(id: any): any;
    add(item: any): void;
    getDefaultArrow(attrs: any, name: any): any;
    addGradient(cfg: any): string;
    addArrow(attrs: any, name: any): string;
    addShadow(cfg: any): string;
    addPattern(cfg: any): string;
    addClip(cfg: any): string;
}
export default Defs;
