import { ExternalNavigationBlockDelegates } from "./ExternalNavigationBlockDelegates" ; export class ExternalNavigationBlock { public static set ( enabled ) { ExternalNavigationBlockDelegates . get ( ) . set ( enabled ) ; } public static get ( ) { return ExternalNavigationBlockDelegates . get ( ) . get ( ) ; } } export class NullExternalNavigationBlock { public set ( enabled ) { } public get ( ) { return true ; } } export interface IExternalNavigationBlock { set ( enabled ) : void ; get ( ) : boolean ; }