import { DataSource } from 'typeorm';
export declare class DureeService {
    private readonly dataSource;
    constructor(dataSource: DataSource);
    correctDureeType(duree: number, duree_type: string): string;
    convertDurations(currentDuration: number, currentType: string, extensionDuration: number, extensionType: string): Promise<{
        newTotalDuration: number;
        newDurationType: string;
        wasConverted: boolean;
        totalDurationFormatted: string;
        extensionDurationFormatted: string;
    }>;
}
