/** * @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 { BooleanInput } from '@angular/cdk/coercion'; import { AfterContentInit, ElementRef, QueryList, OnChanges, OnDestroy, ChangeDetectorRef, InjectionToken } from '@angular/core'; import { CanDisable, CanDisableRipple, MatLine } from '@angular/material/core'; import { Subject } from 'rxjs'; /** @docs-private */ declare const _MatListBase: import("@angular/material/core/common-behaviors/constructor").Constructor & import("@angular/material/core/common-behaviors/constructor").AbstractConstructor & import("@angular/material/core/common-behaviors/constructor").Constructor & import("@angular/material/core/common-behaviors/constructor").AbstractConstructor & { new (): {}; }; /** @docs-private */ declare const _MatListItemMixinBase: import("@angular/material/core/common-behaviors/constructor").Constructor & import("@angular/material/core/common-behaviors/constructor").AbstractConstructor & { new (): {}; }; /** * Injection token that can be used to inject instances of `MatList`. It serves as * alternative token to the actual `MatList` class which could cause unnecessary * retention of the class and its component metadata. */ export declare const MAT_LIST: InjectionToken; /** * Injection token that can be used to inject instances of `MatNavList`. It serves as * alternative token to the actual `MatNavList` class which could cause unnecessary * retention of the class and its component metadata. */ export declare const MAT_NAV_LIST: InjectionToken; export declare class MatNavList extends _MatListBase implements CanDisable, CanDisableRipple, OnChanges, OnDestroy { /** Emits when the state of the list changes. */ readonly _stateChanges: Subject; ngOnChanges(): void; ngOnDestroy(): void; static ngAcceptInputType_disableRipple: BooleanInput; static ngAcceptInputType_disabled: BooleanInput; } export declare class MatList extends _MatListBase implements CanDisable, CanDisableRipple, OnChanges, OnDestroy { private _elementRef; /** Emits when the state of the list changes. */ readonly _stateChanges: Subject; constructor(_elementRef: ElementRef); _getListType(): 'list' | 'action-list' | null; ngOnChanges(): void; ngOnDestroy(): void; static ngAcceptInputType_disableRipple: BooleanInput; static ngAcceptInputType_disabled: BooleanInput; } /** * Directive whose purpose is to add the mat- CSS styling to this selector. * @docs-private */ export declare class MatListAvatarCssMatStyler { } /** * Directive whose purpose is to add the mat- CSS styling to this selector. * @docs-private */ export declare class MatListIconCssMatStyler { } /** * Directive whose purpose is to add the mat- CSS styling to this selector. * @docs-private */ export declare class MatListSubheaderCssMatStyler { } /** An item within a Material Design list. */ export declare class MatListItem extends _MatListItemMixinBase implements AfterContentInit, CanDisableRipple, OnDestroy { private _element; private _isInteractiveList; private _list?; private readonly _destroyed; _lines: QueryList; _avatar: MatListAvatarCssMatStyler; _icon: MatListIconCssMatStyler; constructor(_element: ElementRef, _changeDetectorRef: ChangeDetectorRef, navList?: MatNavList, list?: MatList); /** Whether the option is disabled. */ get disabled(): boolean; set disabled(value: boolean); private _disabled; ngAfterContentInit(): void; ngOnDestroy(): void; /** Whether this list item should show a ripple effect when clicked. */ _isRippleDisabled(): boolean; /** Retrieves the DOM element of the component host. */ _getHostElement(): HTMLElement; static ngAcceptInputType_disableRipple: BooleanInput; static ngAcceptInputType_disabled: BooleanInput; } export {};