import { PipeTransform } from '@angular/core';
import { TranslatePipe } from '@ngx-translate/core';
import * as i0 from "@angular/core";
export type ItDurationPipeType = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute' | 'second';
/**
 * Transform a number into a duration.
 * Is necessary indicate the value expressed by the number, for example 'day'.
 * @example
 *  - 1, 'day' -> 1 day
 *  - 5, 'day' -> 5 days
 *  - 7, 'day' -> 1 week
 *  - 365, 'day' -> 1 year
 *  - 2, 'week' -> 2 weeks
 *  ...
 */
export declare class ItDurationPipe extends TranslatePipe implements PipeTransform {
    /**
     * Transform a number into a duration.
     * Is necessary indicate the value expressed by the number, for example 'day'.
     * @example
     *  - 1, 'day' -> 1 day
     *  - 5, 'day' -> 5 days
     *  - 7, 'day' -> 1 week
     *  - 8, 'day' -> 1 week
     *  - 365, 'day' -> 1 year
     *  - 2, 'week' -> 2 weeks
     *  - 24, 'month' -> 1 year
     *  ...
     * @param value the number
     * @param type the number expressed type
     */
    transform(value: string | number | undefined, type: ItDurationPipeType): string;
    static ɵfac: i0.ɵɵFactoryDeclaration<ItDurationPipe, never>;
    static ɵpipe: i0.ɵɵPipeDeclaration<ItDurationPipe, "itDuration", true>;
}
