import { App } from "../App.js"; import { AtomUri } from "../core/AtomUri.js"; import { IDisposable, INameValuePairs, INameValues } from "../core/types.js"; import { AtomViewModel } from "../view-model/AtomViewModel.js"; import { AtomWindowViewModel } from "../view-model/AtomWindowViewModel.js"; import { NavigationService } from "./NavigationService.js"; export interface IWindowRegistration { windowType: string; action: (vm: AtomViewModel) => any; } export declare class MockConfirmViewModel extends AtomWindowViewModel { message: string; title: string; } export declare class MockNavigationService extends NavigationService { title: string; private windowStack; private history; private mLocation; get location(): AtomUri; set location(v: AtomUri); constructor(app: App); refresh(): void; navigate(url: string): void; back(): void; alert(msg: string, title?: string): Promise; confirm(msg: string, title?: string): Promise; openPage(pageName: string, p?: INameValuePairs): Promise; notify(message: string, title?: string): Promise; openTestWindow(c: string | AtomUri, p?: INameValues): Promise; expectAlert(msg: string): IDisposable; expectNotification(msg: string): IDisposable; expectConfirm(msg: string, action: (vm: MockConfirmViewModel) => boolean): IDisposable; expectPopup(popupType: string, windowAction: (vm: TViewModel) => any): IDisposable; expectWindow(windowType: string, windowAction: (vm: TViewModel) => any): IDisposable; removeRegistration(r: IWindowRegistration): void; assert(): void; protected registerForPopup(): void; protected forceRemove(view: any): void; protected openWindow(url: AtomUri): Promise; } //# sourceMappingURL=MockNavigationService.d.ts.map