import { BehaviorSubject, Observable } from 'rxjs'; import { AppConfigService, AppStateService, CONFIG_KEY, ConfigurationService, Message as Message$1, PortalMessageService, RemoteComponentsService, UserService, Capability, ShellCapabilityService } from '@onecx/angular-integration-interface'; import * as i0 from '@angular/core'; import { MfeInfo, PageInfo, Workspace, CurrentLocationTopicPayload, Config, Message, RemoteComponentsInfo, UserProfile } from '@onecx/integration-interface'; import { FakeTopic } from '@onecx/accelerator'; declare function provideAppConfigServiceMock(): (typeof AppConfigServiceMock | { provide: typeof AppConfigService; useExisting: typeof AppConfigServiceMock; })[]; declare class AppConfigServiceMock { config$: BehaviorSubject<{ [key: string]: string; }>; init(baseUrl: string): Promise; getProperty(key: string): string | undefined; setProperty(key: string, val: string): void; getConfig(): { [key: string]: string; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare function provideAppStateServiceMock(): (typeof AppStateServiceMock | { provide: typeof AppStateService; useExisting: typeof AppStateServiceMock; })[]; declare class AppStateServiceMock { globalError$: FakeTopic; globalLoading$: FakeTopic; currentMfe$: FakeTopic; currentPage$: FakeTopic; currentPortal$: FakeTopic; currentWorkspace$: FakeTopic; currentLocation$: FakeTopic; isAuthenticated$: FakeTopic; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare function provideConfigurationServiceMock(): (typeof ConfigurationServiceMock | { provide: typeof ConfigurationService; useExisting: typeof ConfigurationServiceMock; })[]; declare class ConfigurationServiceMock { config$: FakeTopic; private resolveInitPromise; private isInitializedPromise; constructor(); init(config?: Config): Promise; get isInitialized(): Promise; getProperty(key: CONFIG_KEY): Promise; setProperty(key: string, val: string): Promise; getConfig(): Promise; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare function providePortalMessageServiceMock(): (typeof PortalMessageServiceMock | { provide: typeof PortalMessageService; useExisting: typeof PortalMessageServiceMock; })[]; declare class PortalMessageServiceMock { message$: FakeTopic; success(msg: Message$1): void; info(msg: Message$1): void; error(msg: Message$1): void; warning(msg: Message$1): void; private addTranslated; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare function provideRemoteComponentsServiceMock(): (typeof RemoteComponentsServiceMock | { provide: typeof RemoteComponentsService; useExisting: typeof RemoteComponentsServiceMock; })[]; declare class RemoteComponentsServiceMock { remoteComponents$: FakeTopic; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare function provideUserServiceMock(): (typeof UserServiceMock | { provide: typeof UserService; useExisting: typeof UserServiceMock; })[]; declare class UserServiceMock { profile$: FakeTopic; permissionsTopic$: FakeTopic; lang$: BehaviorSubject; hasPermission(permissionKey: string | string[]): Promise; getPermissions(): Observable; determineLanguage(): string | undefined; extractPermissions(userProfile: UserProfile): string[] | null; get isInitialized(): Promise; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } type MockUserService = UserServiceMock; declare function provideShellCapabilityServiceMock(): (typeof ShellCapabilityServiceMock | { provide: typeof ShellCapabilityService; useExisting: typeof ShellCapabilityServiceMock; })[]; declare class ShellCapabilityServiceMock { static capabilities: Capability[]; static setCapabilities(capabilities: Capability[]): void; hasCapability(capability: Capability): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export { AppConfigServiceMock, AppStateServiceMock, ConfigurationServiceMock, PortalMessageServiceMock, RemoteComponentsServiceMock, ShellCapabilityServiceMock, UserServiceMock, provideAppConfigServiceMock, provideAppStateServiceMock, provideConfigurationServiceMock, providePortalMessageServiceMock, provideRemoteComponentsServiceMock, provideShellCapabilityServiceMock, provideUserServiceMock }; export type { MockUserService };