import { OnInit } from '@angular/core'; import { AbstractTableCell } from './abstract-table-cell'; /** * The ControlValueAccessor that is instantiated for the following usage, with `type='date'` * ```html .... .... ``` * Do not forget to put `` inside the table elements. This is required because at this moment, it is not possible for the Angular renderer to **insert** elements into another element, only append as a sibling. It is thus not possible to insert into the `nativeElement` associated with and injected into the `teCell` directive. * For this reason, we need to create a `ViewContainer` inside the `HTMLTableCellElement` and get a reference to it, which is done by `NgContainer` and `teAnchor` respecively. [See this issue for a lengthy discussion]{@link https://github.com/angular/angular/issues/9035}. * */ export declare class DateCellControlValueAccessor extends AbstractTableCell implements OnInit { /** Set a desired date string representation using the Angular [formatDate]{@link https://angular.io/api/common/formatDate} method. The default settings are `'yyyy-MM-dd'` with locale: `'en-US'`.*/ dateFormat: string; /** @internal for documentation see {@link AbstractTableCell} */ writeValue(modelVal: Date): void; /** @internal for documentation see {@link AbstractTableCell} */ registerOnChange(fn: any): void; /** @internal for documentation see {@link AbstractTableCell} */ registerOnTouched(fn: any): void; /** @internal for documentation see {@link AbstractTableCell} */ parser(value: any): Date; /** @internal for documentation see {@link AbstractTableCell} */ cellValueFormatter(value: any): any; /** @internal for documentation see {@link AbstractTableCell} */ inputValueFormatter(value: any): string; }