import * as React from "@hpcc-js/preact-shim";
interface TextLine {
    text: string;
    height?: number;
    anchor?: string;
    baseline?: string;
    fontFamily?: string;
    fill?: string;
}
export declare const TextLine: React.FunctionComponent<TextLine>;
interface Text {
    text: string;
    height?: number;
    fontFamily?: string;
    fill?: string;
    onSizeUpdate?: (size: {
        width: number;
        height: number;
    }) => void;
}
export declare const Text: React.FunctionComponent<Text>;
export interface TextBox {
    text: string;
    height?: number;
    fontFamily?: string;
    padding?: number;
    fill?: string;
    stroke?: string;
    textFill?: string;
    strokeWidth?: number;
    cornerRadius?: number;
    textOffsetY?: number;
    onSizeUpdate?: (size: {
        width: number;
        height: number;
    }) => void;
}
export declare const TextBox: React.FunctionComponent<TextBox>;
export interface LabelledRect extends TextBox {
    width?: number;
    fontSize?: number;
}
export interface IconLabelledRect extends LabelledRect {
    icon: string;
    iconFontFamily: string;
    iconFontSize: number;
}
export declare const LabelledRect: React.FunctionComponent<LabelledRect>;
export declare const IconLabelledRect: React.FunctionComponent<IconLabelledRect>;
export {};
//# sourceMappingURL=text.d.ts.map
