export declare function parseCssSize(size: string | null): number;
export default class Margin {
    left: number;
    top: number;
    right: number;
    bottom: number;
    constructor(left: number, top?: number, right?: number, bottom?: number);
    get horizontal(): number;
    get vertical(): number;
    static cache: Map<string, Margin>;
    static fromCssMargin(css: CSSStyleDeclaration): Margin;
    static fromCssPadding(css: CSSStyleDeclaration): Margin;
    toString(): string;
}
