import { Rectangle } from "../common/vline"; import { ZGraph } from "../objects/z_graph"; import { ZTable } from "../objects/z_table"; import { ZObject } from "../objects/z_object"; export type VBACodableSVG = SVGPathElement | SVGTextElement | SVGRectElement | SVGCircleElement | SVGEllipseElement | SVGLineElement | SVGPolylineElement | SVGPolygonElement; export type VBAObjectType = VBACodableSVG | ZObject; export declare function countVBSObjectNum(items: VBAObjectType[] | VBAObjectType): number; export declare function collectVBAObjectTypes(svgsvg: SVGSVGElement): VBAObjectType[]; export declare function isVBACodableSVG(svg: SVGElement): boolean; export declare function isVBAObject(svg: SVGElement): boolean; /** * 領域を取得します。 * @param items */ export declare function getRegion(items: VBAObjectType[]): Rectangle; /** * グラフや表を消去します。 * @param svg * @param items */ export declare function clearGraphTables(svg: SVGElement, items: (ZGraph | ZTable)[]): void;