import { InjectionToken } from '@angular/core';
/**
 * @deprecated Will be removed in next major release, use `KbqFormField` instead.
 */
export interface KbqFormFieldRef {
    control: any;
    canCleanerClearByEsc: boolean;
    /**
     * @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<KbqFormField>` (#DS-2915)
 */
export declare const KBQ_FORM_FIELD_REF: InjectionToken<KbqFormFieldRef>;
