import { DlDateAdapter } from './dl-date-adapter'; /** * Adapts `string` to be usable as a date by date/time components that work with dates. **/ import * as ɵngcc0 from '@angular/core'; export declare class DlDateAdapterString extends DlDateAdapter { private readonly inputFormats; private readonly modelFormat; /** * Constructs a new instance of this class. * * @param inputFormats * see {@link DL_DATE_TIME_INPUT_FORMATS} * @param modelFormat * see {@link DL_DATE_TIME_MODEL_FORMAT} */ constructor(inputFormats: string[], modelFormat: string); /** * Returns the specified number. * @param milliseconds * a moment time time. * @returns * the specified moment in time. */ fromMilliseconds(milliseconds: number): string; /** * Returns the specified number. * @param value * a moment time time or `null` * @returns * the milliseconds for the specified value or `null` * `null` is returned when value is not a valid input date string */ toMilliseconds(value: string | null): number | null; static ɵfac: ɵngcc0.ɵɵFactoryDeclaration; static ɵprov: ɵngcc0.ɵɵInjectableDeclaration; } //# sourceMappingURL=dl-date-adapter-string.d.ts.map