import { MethodDescriptor } from 'nice-grpc-common';
import { Counter } from 'prom-client';
export declare const typeLabel = "grpc_type";
export declare const serviceLabel = "grpc_service";
export declare const methodLabel = "grpc_method";
export declare const pathLabel = "grpc_path";
export declare const codeLabel = "grpc_code";
/**
 * 1ms, 4ms, 16ms, ..., ~1 hour in seconds
 */
export declare const latencySecondsBuckets: number[];
export declare const labelNames: string[];
export declare const labelNamesWithCode: string[];
export declare function getLabels(method: MethodDescriptor): {
    grpc_type: string;
    grpc_service: string;
    grpc_method: string;
    grpc_path: string;
};
export declare function incrementStreamMessagesCounter<T>(iterable: AsyncIterable<T>, counter: Counter.Internal): AsyncIterable<T>;
