import { PositionType } from "../common/vline"; export type SVGOptionReteral = { id?: string; class?: string; style?: string; }; export type SVGReteral = { tag?: string; } & SVGOptionReteral; export type BorderOptionReteral = {} & SVGOptionReteral; export type SVGSVGOptionReteral = { width?: number | string; height?: number | string; g_vba?: boolean; g_shrink?: boolean; } & SVGOptionReteral; export type SVGSVGReteral = { xmlns: string; children: SVGReteral[]; } & SVGReteral & SVGSVGOptionReteral; export type TextReteral = { textContent?: string; } & SVGReteral; export type SurfaceOptionReteral = {} & SVGOptionReteral; export type TextOptionReteral = {} & SVGOptionReteral; export type ZVertexOptionReteral = { x?: number; y?: number; cx?: number; cy?: number; positionType: PositionType; width?: number; height?: number; surfaceOption: SurfaceOptionReteral; textOption: TextOptionReteral; } & SVGOptionReteral; export type ZVertexReteral = {} & ZVertexOptionReteral & SVGReteral; export type CellSubOptionReteral = { surfaceOption: SurfaceOptionReteral; textOption: TextOptionReteral; topBorderOption: BorderOptionReteral; leftBorderOption: BorderOptionReteral; rightBorderOption: BorderOptionReteral; bottomBorderOption: BorderOptionReteral; }; export type CellOptionReteral = { w?: number; h?: number; } & CellSubOptionReteral & SVGOptionReteral; export type CellReteral = { children: TextReteral[]; } & SVGReteral & CellOptionReteral; export type RowOptionReteral = CellSubOptionReteral & SVGOptionReteral; export type RowReteral = { children: CellReteral[]; } & RowOptionReteral & SVGReteral; export type TableOptionReteral = { rowHeight?: number; columnWidth?: number; } & ZVertexOptionReteral; export type TableReteral = { children: RowReteral[]; } & TableOptionReteral & ZVertexReteral; export declare function convertAttributesIntoSVGOption(e: Element): SVGOptionReteral; export declare function convertAttributesIntoVertexOption(e: Element): ZVertexOptionReteral; export declare function convertAttributesIntoTableOption(e: Element): TableOptionReteral; export declare function convertAttributesIntoAdditionalOption(e: Element, type: "topborder" | "leftborder" | "rightborder" | "bottomborder" | "surface" | "text"): BorderOptionReteral; export declare function convertAttributesIntoCellOption(e: Element): CellOptionReteral; export declare function setSVGReteral(obj: SVGReteral, tag: string, id: string | undefined, _class: string | object | undefined | null, style: string | object | null | undefined): void; export declare function deepCopy(obj: Object): Object; export declare function toHTML(obj: SVGReteral, indent: string): string[];