import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
import { AbstractControl, ControlContainer, ControlValueAccessor } from '@angular/forms';
import { QdFormCheckboxChipsConfiguration, QdHinti18n, QdLabeli18n } from '../model/forms.interface';
import { QdFormControl } from '../reactive-forms/controls/form-control';
import { QdFormsActionEmitterService } from '../shared/services/action-emitter.service';
import { QdCheckboxChipsService } from './services/checkbox-chips.service';
import { QdEventBrokerService } from '../../core/services/event-broker.service';
import * as i0 from "@angular/core";
/**
 * The **QdCheckboxChips** is a component that provides a checkbox chip functionality.<br />
 * It allows you to create a group of checkboxes in the form of chips, that represent a choice or selection. It can be used with Quadrel Reactive Forms or with model binding.
 *
 * ####**Usage with Reactive Forms**
 *
 * ```ts
 * form = new QdFormGroup({
 *   checkboxChips: new QdFormControl()
 * });
 * ```
 * ```html
 * <form [formGroup]="form">
 *   <qd-checkbox-chips [formControlName]="checkboxChips" [config]="config"></qd-checkbox-chips>
 * </form>
 * ```
 *
 * ####**Usage with Model Binding**
 * ```ts
 * values;
 * ```
 * ```html
 * <qd-checkbox-chips [(values)]="values" [config]="config"></qd-checkbox-chips>
 * ```
 */
export declare class QdCheckboxChipsComponent implements ControlValueAccessor, OnInit, OnChanges, OnDestroy {
    private checkboxChipsService;
    private actionEmitterService;
    private readonly controlContainer;
    private readonly eventBrokerService;
    /**
     * The form control name can be assigned here if you want to use Reactive Forms.
     */
    formControlName: string;
    /**
     * The configuration for this form item
     *
     * @example
     * {
     *   label: { i18n: 'my-label' },
     *   hint: { i18n: 'my-hint' },
     *   options: [
     *     { i18n: 'i18n.qd.exampleFormField.goodsDeclaration.import', value: 'import' },
     *     { i18n: 'i18n.qd.exampleFormField.goodsDeclaration.export', value: 'export' },
     *     { i18n: 'i18n.qd.exampleFormField.goodsDeclaration.transit', value: 'transit' }
     *   ]
     * };
     */
    config: QdFormCheckboxChipsConfiguration;
    /**
     * The current form item values, if you are working with Model Binding.
     *
     * @example
     * <qd-checkboxes [(values)]="checkboxGroupValue" [config]="config"></qd-checkboxes>
     */
    values: string[];
    /**
     * A static test ID for integration tests can be set. <br />
     * The value for the HTML attribute [data-test-id].
     */
    testId: string;
    /**
     * Emits event when the values change. Return values match the current values.
     */
    readonly valuesChange: EventEmitter<string[]>;
    /**
     * Emits event when the hint is clicked/tapped. `hintAction` must be set to `true` for this.
     */
    readonly clickHint: EventEmitter<any>;
    /**
     * Emits event when a readonly value is clicked/tapped. `clickReadonly ` must be set to `true` for this.
     */
    readonly clickReadonly: EventEmitter<any>;
    /**
     * Emits event when a viewonly value is clicked/tapped. `clickViewonly ` must be set to `true` for this.
     */
    readonly clickViewonly: EventEmitter<any>;
    disabled: QdFormCheckboxChipsConfiguration['disabled'];
    get hasError(): boolean;
    get selectedTranslations(): string[];
    control: AbstractControl | QdFormControl<any>;
    label: QdLabeli18n;
    hint: QdHinti18n;
    readonly: QdFormCheckboxChipsConfiguration['readonly'];
    viewonly: QdFormCheckboxChipsConfiguration['viewonly'];
    hintAction: QdFormCheckboxChipsConfiguration['hintAction'];
    readonlyAction: QdFormCheckboxChipsConfiguration['readonlyAction'];
    viewonlyAction: QdFormCheckboxChipsConfiguration['viewonlyAction'];
    options: QdFormCheckboxChipsConfiguration['options'];
    isLabelDisabled: boolean;
    isHintDisabled: boolean;
    private _subs;
    private _onChange;
    private _onTouch;
    constructor(checkboxChipsService: QdCheckboxChipsService, actionEmitterService: QdFormsActionEmitterService, controlContainer: ControlContainer, eventBrokerService: QdEventBrokerService);
    ngOnInit(): void;
    ngOnChanges(changes: SimpleChanges): void;
    ngOnDestroy(): void;
    registerOnChange(fn: (_: any) => void): void;
    registerOnTouched(fn: any): void;
    setDisabledState(disabled: boolean): void;
    writeValue(value: any): void;
    handleClick(index: any): void;
    private updateConfiguration;
    private initOpModeSubscription;
    static ɵfac: i0.ɵɵFactoryDeclaration<QdCheckboxChipsComponent, [{ self: true; }, { self: true; }, { optional: true; host: true; skipSelf: true; }, { optional: true; }]>;
    static ɵcmp: i0.ɵɵComponentDeclaration<QdCheckboxChipsComponent, "qd-checkbox-chips", never, { "formControlName": { "alias": "formControlName"; "required": false; }; "config": { "alias": "config"; "required": false; }; "values": { "alias": "values"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, { "valuesChange": "valuesChange"; "clickHint": "clickHint"; "clickReadonly": "clickReadonly"; "clickViewonly": "clickViewonly"; }, never, never, false, never>;
}
//# sourceMappingURL=checkbox-chips.component.d.ts.map