import { L10nTranslationService } from 'angular-l10n'; import { Data, Params } from '@angular/router'; import { RouteDataInterface } from './route-data.interface'; import { InjectionToken } from '@angular/core'; import { TerraKeyValueInterface } from '../../models'; /** Type of method that returns a label based on the activated route's params, data and queryParams. * angular-l10n's L10nTranslationService can be used to provide multi-lingual labels */ export declare type LabelFunction = (translation: L10nTranslationService, params: Params, routeData: Data, queryParams: Params) => string; /** Specifies a single set of information to register data for a certain route. */ export interface RouteData { path: string; data: T; emptyPath?: boolean; } /** Specifies a list of data related to certain routes. */ export declare type RouteDataList = Array>; /** Specifies a set of immutable data related to certain routes. */ export declare type ReadonlyRouteData = { [path: string]: Readonly; }; /** Injection token for the pre-extracted data of routes in the app. */ export declare const ROUTE_DATA: InjectionToken>>;