/// <reference types="@dcloudio/types" />
import type { Ref, ComponentInternalInstance } from 'vue';
import type { MessageOptions } from './index.interface';
declare class MlMessage {
    messages: Ref<MessageOptions[]>;
    messagesId: Set<number | string>;
    messagesCount: number;
    messagesAnimation: Ref<Record<number | string, UniApp.Animation>>;
    instance: ComponentInternalInstance;
    constructor(instance: ComponentInternalInstance | null);
    add(options: MessageOptions): {
        close: () => void;
    };
    createAnimationData(message: MessageOptions, status?: 'in' | 'out'): UniApp.Animation;
    addAnimationData(message: MessageOptions): void;
    getAnimationData(id?: string | number): UniApp.Animation | null;
    remove(message: MessageOptions): void;
}
export default MlMessage;
