import { OAuthConfig } from "./../store/oauth-config-store"; import { KubernetesResource } from "./kubernetesresource.model"; import { ActivatedRoute } from "@angular/router"; export declare var resourceKindToCollectionName: { "Deployment": string; "DeploymentConfig": string; "Build": string; "BuildConfig": string; "ConfigMap": string; "Event": string; "Namespace": string; "Pod": string; "Project": string; "ReplicationController": string; "ReplicaSet": string; "Route": string; "Service": string; }; export declare var resourceKindToOpenShiftConsoleCollectionName: { "BuildConfig": string; "DeploymentConfig": string; "ReplicationController": string; }; /** * Returns true if the resource kind is namespaced */ export declare function isNamespacedKind(kind: string): boolean; /** * Given the resource generate a link to browse the resource on the OpenShift web console */ export declare function openShiftBrowseResourceUrl(resource: KubernetesResource, oauthConfig: OAuthConfig, openShiftConsoleUrl?: string, kinds?: string): string; /** * Returns the activated route data flag of this route or a parent route or null if it could not be found */ export declare function activedRouteDataEntry(route: ActivatedRoute, key: string): any; export declare function findParameter(route: ActivatedRoute, name: string): string;