import { AfterViewInit, OnInit } from '@angular/core'; import { ControlValueAccessor, FormControl } from '@angular/forms'; import * as i0 from "@angular/core"; export type TIME_UNIT = 'second' | 'minute' | 'hour' | 'day' | 'month' | 'year'; export declare class TimeUnitSelectComponent implements OnInit, AfterViewInit, ControlValueAccessor { static toMilliseconds(value: number, unit: TIME_UNIT): number; static convert(value: number, from: TIME_UNIT, to?: TIME_UNIT): number; set setLocale(locale: string | undefined); locale?: string; units: TIME_UNIT[]; unitNames: { [key: string]: string; }; isOpen: boolean; control?: FormControl; onChange: () => void; onTouched: () => void; private injector; private changeDetectorRef; writeValue: () => void; registerOnChange(onChange: any): void; registerOnTouched(onTouched: any): void; ngOnInit(): void; ngAfterViewInit(): Promise; private loadUnitNames; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }