import { Color } from "./color";
/**
 * Represents a glyph to be drawn to the screen.
 */
export declare class Glyph {
    readonly char: number;
    readonly fore: Color;
    readonly back: Color;
    /**
     * Creates a glyph from a charCode.
     *
     * @param char - A number representing a charCode.
     * @param fore - A foreground color (default white)
     * @param back - A background color (default black)
     */
    static fromCharCode(char: number, fore?: Color, back?: Color): Glyph;
    /**
     * Creates a Glyph from a single character.
     *
     * @param char - A single character.
     * @param fore - A foreground color (default white)
     * @param back - A background color (default black)
     */
    constructor(char: string, fore?: Color, back?: Color);
    /**
     * Checks to see if two glyphs are equal.
     * @param other Glyph - The other glyph.
     */
    isEqual(other: any): boolean;
}
