import { InjectionToken, ModelSignal } from '@angular/core'; /** * @deprecated Will be removed in next major release, use `KbqFormField` instead. */ export interface KbqFormFieldRef { control: any; canCleanerClearByEsc: boolean; /** Use when KbqFormField is in an overlay container. */ inOverlay: ModelSignal; /** * @TODO should be removed, is private method (#DS-2915) * @deprecated use `formField.control?.errorState` instead */ shouldForward(str: string): boolean; focus(): void; /** * @deprecated Use `focus` instead. */ focusViaKeyboard(): void; } /** * Injection token that can be used to inject an instances of `KbqFormField`. It serves * as alternative token to the actual `KbqFormField` class which would cause unnecessary * retention of the `KbqFormField` class and its component metadata. * * @TODO move into form-field.ts, add correct type for `InjectionToken` (#DS-2915) */ export declare const KBQ_FORM_FIELD_REF: InjectionToken;