import type { ColorValue, ColorLike, MarginValues, StyleProperties } from "./types";
export declare const color_css: (color: ColorLike | undefined) => string | undefined;
export declare const pdf_rgb: (color: ColorLike) => [number, number, number];
export declare const line_gap: (style: StyleProperties, font_size: number) => number;
export declare const parse_color: (color: ColorLike) => ColorValue;
export declare const parse_dimension: (value: number | string | undefined, reference: number) => number;
export declare const normalize_margin: (margin: number | Partial<MarginValues> | undefined) => MarginValues;
export declare const expand_shorthand: (style: StyleProperties) => StyleProperties;
export declare const merge_styles: (base: StyleProperties, override: StyleProperties) => StyleProperties;
export declare class Style {
    properties: StyleProperties;
    constructor(properties?: StyleProperties);
    get_margin(): {
        top: number;
        right: number;
        bottom: number;
        left: number;
    };
    get_padding(): {
        top: number;
        right: number;
        bottom: number;
        left: number;
    };
    get_color(): ColorValue | null;
    get_background_color(): ColorValue | null;
    get_dimension(property: "width" | "height", reference: number): number;
}
