export declare const ui: {
    Align: {
        Center: string;
    };
};
export interface StdUiRoot {
    _type: string;
    x?: number;
    y?: number;
    width?: number;
    height?: number;
    cx?: number;
    cy?: number;
    rx?: number;
    ry?: number;
    radius?: number;
    x1?: number;
    y1?: number;
    x2?: number;
    y2?: number;
    color?: string | null;
    text?: string;
    href?: string;
    _children?: StdUiRoot[];
    border?: any;
    fill?: any;
    points?: any;
    d?: any;
    textSize?: number;
    lineHeight?: number;
    fontFamily?: string;
    align?: string;
    vAlign?: string;
    fontStyle?: any;
    arrow?: any;
    rich?: any;
}
export declare function _if(condition: boolean, obj: object): object[];
interface StdUiDoc {
    root: StdUiRoot;
}
interface ToSvgOpts {
    forceImage?: boolean;
    borderPosition?: string;
}
export declare class StdUI {
    root: StdUiRoot;
    constructor(doc: StdUiDoc);
    toSvg(toSvgOpts?: ToSvgOpts): string;
    toProcessOn(): string;
    toHtml(): string;
}
export {};
