import { BaseXform } from "../base-xform.js";
import { ColorXform } from "./color-xform.js";
interface EdgeModel {
    style?: string;
    color?: any;
}
interface BorderModel {
    top?: EdgeModel;
    left?: EdgeModel;
    bottom?: EdgeModel;
    right?: EdgeModel;
    diagonal?: EdgeModel & {
        up?: boolean;
        down?: boolean;
    };
    color?: any;
}
declare class EdgeXform extends BaseXform {
    private name;
    map: {
        color: ColorXform;
    };
    private defaultColor;
    parser: any;
    constructor(name: string);
    get tag(): string;
    render(xmlStream: any, model?: EdgeModel, defaultColor?: any): void;
    parseOpen(node: any): boolean;
    parseText(text: string): void;
    parseClose(name: string): boolean;
    validStyle(value: string): boolean;
    static validStyleValues: {
        [key: string]: boolean;
    };
}
declare class BorderXform extends BaseXform {
    map: {
        [key: string]: EdgeXform;
    };
    parser: any;
    private diagonalUp;
    private diagonalDown;
    constructor();
    render(xmlStream: any, model: BorderModel): void;
    parseOpen(node: any): boolean;
    parseText(text: string): void;
    parseClose(name: string): boolean;
}
export { BorderXform };
