import { LocationStrategy } from '@angular/common'; import { ActivatedRoute, Router, RouterLinkWithHref } from '@angular/router'; /** * @see https://github.com/angular/angular/blob/master/packages/router/src/directives/router_link.ts * */ export declare class CancelableRouterLinkWithHrefDirective extends RouterLinkWithHref { /** * Indicates that router should not be notified about navigation. */ cancel: boolean; constructor(router: Router, route: ActivatedRoute, locationStrategy: LocationStrategy); /** * Sets the router link target for navigation when clicked. */ cancelableRouterLink: any[] | string; /** * Listen to host click and determines if routing must occurr. */ onClick(button: number, ctrlKey: boolean, metaKey: boolean, shiftKey: boolean): boolean; }