export interface Duration { seconds: number; nanos: number; } export declare function msToDuration(millis: number): Duration; export declare function durationToMs(duration: Duration): number; export declare function isDuration(value: any): value is Duration; export declare function parseDuration(value: string): Duration | null;