import { PipeTransform } from '@angular/core';
import { TimeUnit } from './duration.model';
import * as i0 from "@angular/core";
/**
 * Converts a duration in seconds into the HH:mm format
 */
export declare class O3rDurationPipe implements PipeTransform {
    /**
     * Converts a duration in seconds into the HH:mm format
     * @param value the value in seconds
     * @param pattern the desired output format.
     * The pattern takes into account static format characters surrounded by braces
     *   {d} for days, {h} for hours, {m} for minutes and {s} for seconds.
     * It accepts a double unit time in case a padding is wanted {dd} outputs 05 for instance
     * Should respect the following pattern `/(\{h+\})|(\{m+\})/` (ex: `'{h}h{m}m'` outputs `0h2m`, `'{h}H{mm}'` `0H02` etc.)
     * @param timeUnits the units time to be used in this transformation. This can be used for custom units in the pattern like
     *  {
     *    formatCharacter: 'w',
     *    divider: 3600 * 24 * 7
     *  }
     * The above defines a week for {w}
     */
    transform(value?: number, pattern?: string, timeUnits?: TimeUnit[]): string;
    static ɵfac: i0.ɵɵFactoryDeclaration<O3rDurationPipe, never>;
    static ɵpipe: i0.ɵɵPipeDeclaration<O3rDurationPipe, "o3rDuration", true>;
}
//# sourceMappingURL=duration.pipe.d.ts.map