import { TranslateService } from '@ngx-translate/core';
import { Message, PortalMessageService } from '@onecx/angular-integration-interface';
import { Message as TopicMessage } from '@onecx/integration-interface';
import { FakeTopic } from './fake-topic';
import * as i0 from "@angular/core";
export declare function providePortalMessageServiceMock(): ({
    provide: typeof PortalMessageServiceMock;
    useClass: typeof PortalMessageServiceMock;
    useExisting?: undefined;
} | {
    provide: typeof PortalMessageService;
    useExisting: typeof PortalMessageServiceMock;
    useClass?: undefined;
})[];
export declare class PortalMessageServiceMock {
    private translateService?;
    constructor(translateService?: TranslateService | undefined);
    lastMessages: {
        type: 'success' | 'info' | 'error' | 'warning';
        value: Message;
    }[];
    message$: FakeTopic<TopicMessage>;
    success(msg: Message): void;
    info(msg: Message): void;
    error(msg: Message): void;
    warning(msg: Message): void;
    private addTranslated;
    static ɵfac: i0.ɵɵFactoryDeclaration<PortalMessageServiceMock, [{ optional: true; }]>;
    static ɵprov: i0.ɵɵInjectableDeclaration<PortalMessageServiceMock>;
}
