1 | import moment from 'moment';
|
2 | import { PipeTransform } from '@angular/core';
|
3 | import { NgxMomentOptions } from './moment-options';
|
4 | import * as i0 from "@angular/core";
|
5 | export declare class DurationPipe implements PipeTransform {
|
6 | allowedUnits: Array<string>;
|
7 | constructor(momentOptions?: NgxMomentOptions);
|
8 | transform(value: moment.DurationInputArg1, ...args: string[]): string;
|
9 | private _applyOptions;
|
10 | static ɵfac: i0.ɵɵFactoryDeclaration<DurationPipe, [{ optional: true; }]>;
|
11 | static ɵpipe: i0.ɵɵPipeDeclaration<DurationPipe, "amDuration">;
|
12 | }
|