import { ChangeDetectorRef, ElementRef, QueryList } from '@angular/core'; import { TsCheckboxComponent } from '@terminus/ui/checkbox'; import { TsOptionComponent, TsOptionParentComponent } from './option.component'; /** * Component that is used to group instances of {@link TsOptionComponent}s * * @example * * * https://goo.gl/ieUPaG */ export declare class TsOptgroupComponent { private changeDetectorRef; elementRef: ElementRef; parent: TsOptionParentComponent; /** * A flag signifying all child options are selected */ allSelected: boolean; /** * Unique id for the underlying label */ labelId: string; /** * A flag signifying some of the child options are selected */ someSelected: boolean; /** * Define the default component ID */ protected uid: string; /** * Access the checkbox instance */ checkbox: TsCheckboxComponent; /** * Access the list of options */ optgroupOptions: QueryList; /** * Define an ID for the component * * @param value */ set id(value: string); get id(): string; protected _id: string; /** * Define if the group is disabled */ isDisabled: boolean; /** * Label for the option group */ label: string | undefined; constructor(changeDetectorRef: ChangeDetectorRef, elementRef: ElementRef, parent: TsOptionParentComponent); /** * Toggle all options */ toggle(): void; /** * Allow others to trigger count updates and CDR detection */ triggerChangeDetection(): void; }