import type { StyleProperties, IDocument } from "./types";
import type { ShapeStyle } from "./theme";
import { Vector } from "../lib/vector";
export declare function weighted_font(pdoc: any, owner: IDocument, base: string, weight: number): string;
export declare function seg_variant(pdoc: any, owner: IDocument, family: string, base_weight: number | null, bold: boolean, italic: boolean): string;
export declare function resolve_font(pdoc: any, style: StyleProperties, owner: IDocument): string;
export declare function apply_font(pdoc: any, style: StyleProperties, owner: IDocument): void;
export declare function resolve_font_family(style: StyleProperties, owner: IDocument): string;
export declare function exec_rect(pdoc: any, pos: Vector, size: Vector, rect_style?: ShapeStyle): void;
export declare function compute_padding(style: StyleProperties): {
    top: number;
    right: number;
    bottom: number;
    left: number;
};
