import { experimental } from '@grpc/grpc-js'; import { Duration__Output } from './generated/google/protobuf/Duration'; import Duration = experimental.Duration; /** * Convert a Duration protobuf message object to a Duration object as used in * the ServiceConfig definition. The difference is that the protobuf message * defines seconds as a long, which is represented as a string in JavaScript, * and the one used in the service config defines it as a number. * @param duration */ export declare function protoDurationToDuration(duration: Duration__Output): Duration;