import { LitElement } from 'lit-element';
import './p-icon';
import './p-loading';
declare type positionType = 'topcenter' | 'topleft' | 'topright' | 'bottomcenter' | 'bottomleft' | 'bottomright';
interface MessageType {
    text?: string;
    position?: positionType;
    duration?: number;
    loading?: boolean;
    onclose?: Function;
    color?: string;
    icon?: string;
}
export default class PMessage extends LitElement {
    loading: boolean;
    block: boolean;
    show: boolean;
    icon: string;
    color: string;
    hAgile: string;
    static styles: import("lit-element").CSSResult;
    constructor();
    firstUpdated(changedProperties: Map<string | number | symbol, unknown>): void;
    render(): import("lit-element").TemplateResult;
    updated(changedProperties: Map<string | number | symbol, unknown>): void;
    static zIndex: number;
    static DEFAULTPOSTION: positionType;
    static postionMap: {
        topcenter: string;
        topleft: string;
        topright: string;
        bottomcenter: string;
        bottomleft: string;
        bottomright: string;
    };
    static _getMessagePositionDIV: (position: positionType) => HTMLElement;
    static _mergerConfig(defaultInfoConfig: MessageType, text?: string | MessageType, duration?: number, onclose?: Function): PMessage;
    static show: (config: MessageType) => PMessage;
    static info: (text?: string | MessageType, duration?: number, onclose?: Function) => PMessage;
    static error: (text?: string | MessageType, duration?: number, onclose?: Function) => PMessage;
    static success: (text?: string | MessageType, duration?: number, onclose?: Function) => PMessage;
    static warning: (text?: string | MessageType, duration?: number, onclose?: Function) => PMessage;
    static loading: (text?: string | MessageType, duration?: number, onclose?: Function) => PMessage;
}
export {};
//# sourceMappingURL=p-message.d.ts.map