/**
 * @packageDocumentation
 * @module k8s-resource-list
 */
import { ActivatedRoute } from '@angular/router';
import { Observable } from 'rxjs';
import { ResourceListParams, StringMap } from '../types/commons';
import { LabelSelectorRequirement } from '../types/k8s';
/**
 * convert selector.matchLabels to string
 * refers to: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
 */
export declare function matchLabelsToString(params?: StringMap): string;
/**
 * convert string to selector.matchLabels
 */
export declare function stringToMatchLabels(str?: string): Record<string, string>;
export declare function matchExpressionsToString(params: LabelSelectorRequirement[]): string;
export declare function extractListParamsFromRoute(route: ActivatedRoute): Observable<ResourceListParams>;
export declare function normalizeParams<P extends object>(params: P): P;
