import { WidgetConfig } from ".";
import { Color } from "../terminal/color";
import { Widget } from "./widget";
export interface LabelWidgetState {
    /** The text to display, should be short. */
    text: string;
    /** The direction the text should be, relative to the origin. */
    direction: "left" | "right";
    /** The primary color of the label. Default white. */
    foreColor?: Color;
    /** The secondary color of the label. Default black. */
    backColor?: Color;
}
/**
 * Represents a label drawn on the screen, often for help text.
 * The direction can be controlled to make sure the label doesn't
 * get cut off on the edge of the screen.
 */
export declare class LabelWidget extends Widget<LabelWidgetState> {
    constructor(config: WidgetConfig<LabelWidgetState>);
    private renderLeftLabel;
    private renderRightLabel;
    onDraw(): void;
}
