export declare function toSVG(spec?: string, baseURL?: string): Promise;