import type { D3Selection } from "@d3plus/dom";
interface HideOptions {
    duration?: number;
    callback?: (() => void) | null;
}
interface RenderOptions {
    callback?: (() => void) | null;
    container?: string;
    duration?: number;
    html?: string;
    mask?: string | false;
    style?: Record<string, unknown>;
}
/**
    Displays a message using plain HTML.
    @private
*/
export default class Message {
    _isVisible: boolean;
    mask: D3Selection;
    elem: D3Selection;
    /**
        Invoked when creating a new class instance, and sets any default parameters.
        @private
    */
    constructor();
    /**
        Removes the message from the page.
    */
    exit(elem: D3Selection, duration: number): void;
    /**
        Removes the message from the page.
    */
    hide({ duration, callback }?: HideOptions): this;
    /**
        Draws the message given the specified configuration.
  */
    render({ callback, container, duration, html, mask, style, }?: RenderOptions): this;
}
export {};
