import { OnInit, OnDestroy } from '@angular/core';
import { Calendar } from 'primeng/calendar';
import { TranslationService } from '../../../services/translation.service';
import { DynamicFieldBaseComponent } from './dynamic-field-base.component';
import * as i0 from "@angular/core";
/**
 * DynamicFieldTimeComponent
 *
 * O FormControl.value armazena o horário no formato "HH:mm" (ex: "14:30").
 * A variável `displayValue` mantém o valor formatado para exibição no input.
 * Aceita valores de entrada em "HH:mm" ou "HH:mm:ss" (truncando os segundos).
 */
export declare class DynamicFieldTimeComponent extends DynamicFieldBaseComponent implements OnInit, OnDestroy {
    timePicker: Calendar;
    /** Valor de exibição "HH:mm" */
    displayValue: string | null;
    /** Valor do picker (Date) */
    pickerValue: Date | null;
    /** Controla a renderização do p-calendar */
    showPicker: boolean;
    private valueSub?;
    private updatingFromControl;
    constructor(translationService: TranslationService);
    ngOnInit(): void;
    ngOnDestroy(): void;
    /**
     * Sincroniza o displayValue a partir do valor do FormControl.
     * Aceita: "HH:mm", "HH:mm:ss", Date, ou null.
     */
    private syncDisplayFromControl;
    /** Chamado quando o usuário completa a digitação da máscara */
    onDisplayValueComplete(): void;
    /** Chamado quando o input perde foco */
    onDisplayValueBlur(): void;
    /** Converte o displayValue para o FormControl */
    private syncControlFromDisplay;
    /** Seta o valor no control sem disparar o subscriber interno */
    private setControlValue;
    private dateToTimeString;
    private timeStringToDate;
    private isValidTime;
    toggleTimePicker(event: Event): void;
    onTimeSelect(date: Date): void;
    isControlDisabled(): boolean;
    getPlaceholder(): string;
    static ɵfac: i0.ɵɵFactoryDeclaration<DynamicFieldTimeComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<DynamicFieldTimeComponent, "sia-dynamic-field-time", never, {}, {}, never, never, true, never>;
}
