import { FormControl } from '@angular/forms'; import { TsSelectSortComparatorFunction } from '@terminus/ui/select'; interface State { name: string; population: string; disabled?: boolean; } interface GroupedStates { name: string; children: State[]; disabled?: boolean; } export declare class Basic { myCtrl: FormControl; options: State[]; change: (v: any) => void; } export declare class SeededFormControl { myCtrl: FormControl; options: State[]; } export declare class SeededNgModel { myModel: string; options: State[]; } export declare class SeededFallbackValue { myValue: string; options: State[]; } export declare class SelectionChangeEventEmitters { myCtrl: FormControl; options: State[]; change: (v: any) => void; selected: (v: any) => void; } export declare class CustomOptionTemplate { myCtrl: FormControl; options: State[]; } export declare class CustomBlankOption { myCtrl: FormControl; options: State[]; } export declare class Optgroups { myCtrl: FormControl; groups: GroupedStates[]; } export declare class OptgroupsMultiple { myCtrl: FormControl; groups: GroupedStates[]; } export declare class NoGroupsMultiple { myCtrl: FormControl; items: State[]; } export declare class Disabled { myCtrl: FormControl; options: State[]; wasOpened: (v: any) => void; } export declare class CustomDelimiter { myCtrl: FormControl; options: State[]; delimiter: string; } export declare class SelectOptionChange { myCtrl: FormControl; options: State[]; myComparator: TsSelectSortComparatorFunction; updateOptions(): void; } export declare class CustomCompareFn { foods: ({ value: string; viewValue: string; })[]; selectedFood: { value: string; viewValue: string; }; comparator: ((f1: any, f2: any) => boolean) | null; useCompareByValue(): void; useCompareByReference(): void; useNullComparator(): void; compareByValue(f1: any, f2: any): boolean; compareByReference(f1: any, f2: any): boolean; setFoodByCopy(newValue: { value: string; viewValue: string; }): void; } export declare class DeferOptionSelectionStream { myCtrl: FormControl; items: any[]; updateOptions(): void; } export declare class HideRequired { myCtrl: FormControl; options: State[]; hideRequired: boolean; } export declare class Hint { myCtrl: FormControl; myHint: string; options: State[]; } export declare class Id { myCtrl: FormControl; myId: string; options: State[]; } export declare class Label { myCtrl: FormControl; myLabel: string; options: State[]; } export declare class Tabindex { myCtrl: FormControl; index: number; options: State[]; } export declare class ValidateOnChange { myCtrl: FormControl; validateOnChange: boolean; options: State[]; } export declare class NullSelection { myCtrl: FormControl; items: ({ value: string; viewValue: string; } | { value: null; viewValue: null; })[]; } export declare class OptionError { myCtrl: FormControl; items: State[]; } export declare class OptionId { myCtrl: FormControl; items: State[]; change: (v: any) => void; } export declare class OptgroupIDs { myCtrl: FormControl; groups: GroupedStates[]; } export declare class OptgroupBadIDs { myCtrl: FormControl; groups: GroupedStates[]; } export declare class CustomTrigger { myCtrl: FormControl; options: State[]; myId: string; } export declare class Filterable { myCtrl: FormControl; options: State[]; onReset(): void; onFilter(value: string): void; } export declare class TriggerRefresh { myCtrl: FormControl; options: State[]; hasRequested: boolean; refreshRequested(): void; } export declare class TooManyResults { myCtrl: FormControl; options: State[]; total: number | undefined; } export declare class NoValidationOrHint { myCtrl: FormControl; validationFlag: boolean; } /** * NOTE: Currently all exported Components must belong to a module. So this is our useless module to avoid the build error. */ export declare class TsSelectTestComponentsModule { } export {};