blob: a2ca534fe5deb6398672328a39e056eed4be5748 [file] [log] [blame]
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import { AfterViewInit, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core';
import { MatDatepickerBase, MatDatepickerControl } from './datepicker-base';
/** Button that will close the datepicker and assign the current selection to the data model. */
export declare class MatDatepickerApply {
private _datepicker;
constructor(_datepicker: MatDatepickerBase<MatDatepickerControl<unknown>, unknown>);
_applySelection(): void;
}
/** Button that will close the datepicker and discard the current selection. */
export declare class MatDatepickerCancel {
_datepicker: MatDatepickerBase<MatDatepickerControl<unknown>, unknown>;
constructor(_datepicker: MatDatepickerBase<MatDatepickerControl<unknown>, unknown>);
}
/**
* Container that can be used to project a row of action buttons
* to the bottom of a datepicker or date range picker.
*/
export declare class MatDatepickerActions implements AfterViewInit, OnDestroy {
private _datepicker;
private _viewContainerRef;
_template: TemplateRef<unknown>;
private _portal;
constructor(_datepicker: MatDatepickerBase<MatDatepickerControl<unknown>, unknown>, _viewContainerRef: ViewContainerRef);
ngAfterViewInit(): void;
ngOnDestroy(): void;
}