declare class ToastManager {
    private instances;
    private readonly gap;
    private readonly topMargin;
    error(message: string, duration?: number): void;
    info(message: string, duration?: number): void;
    success(message: string, duration?: number): void;
    warning(message: string, duration?: number): void;
    show(message: string, type?: 'success' | 'error' | 'info' | 'warning', duration?: number): void;
    private repositionToasts;
    private destroy;
}
export declare const OToast: ToastManager;
export {};
