import { HttpParameterCodec } from "@angular/common/http"; import type { ChangeDetectorRef, ElementRef } from "@angular/core"; import type { MatOption } from "@angular/material/core"; import type { MatSelect as MatSelectBase, MatSelectChange as MatSelectChangeEvent } from "@angular/material/select"; /** * Generic representation of Angular SimpleChange */ export declare type SimpleChange = { previousValue: TValue; currentValue: TValue; firstChange: boolean; isFirstChange(): boolean; }; /** * Generic representation of Angular SimpleChanges */ export declare type SimpleChanges = { [key in keyof TComponent]?: SimpleChange; }; /** * Patches Angular HttpParams "toString()" method to handle empty array query params properly */ export declare function patchAngularHttpParams(): void; export declare class DefaultHttpParamEncoder implements HttpParameterCodec { encodeKey(key: string): string; encodeValue(value: string): string; decodeKey(key: string): string; decodeValue(value: string): string; } declare module "@angular/forms" { interface FormControl { _onChange: ((newValue: any, emitModelEvent: boolean) => void)[]; _onDisabledChange: ((disabled: boolean) => any)[]; } } declare module "@angular/cdk/collections" { interface SelectionModel { compareBy?: ((o1: T) => any) | undefined; values: Map; } } declare module "@angular/material/core" { interface AppMatOption extends Omit, "_element" | "_selected" | "_changeDetectorRef"> { _element: ElementRef; _selected: boolean; _changeDetectorRef: ChangeDetectorRef; } } declare module "@angular/material/select" { interface AppMatSelect extends Omit { _value: any; _changeDetectorRef: ChangeDetectorRef; panel: ElementRef; _canOpen(): boolean; _propagateChanges(fallbackValue?: any): void; _onSelect(matOption: MatOption, isUserInput: boolean): void; _getChangeEvent(value: any): MatSelectChangeEvent; _initializeSelection(): void; } }