import { Observable } from 'rxjs'; import { InjectionToken } from '@angular/core'; import { PgSubscriptMessagesComponent } from './pg-subscript-messages.component'; import { PgSubscriptStateCalculator } from './pg-subscript-state-calculator'; import { ValidationErrors } from '@angular/forms'; import * as i0 from "@angular/core"; export interface PgSubscriptController { checkSubscriptState(host: PgSubscriptMessagesComponent, animate: boolean): any; shownSubscriptMessage$: any; } export declare class DefaultSubscriptController implements PgSubscriptController { pgSubscriptStateCalculator: PgSubscriptStateCalculator; readonly messageLineHeight = 24; private _shownSubscriptMessage; shownSubscriptMessage$: Observable<{ value: string; type: 'hint' | 'error'; errorCode?: ValidationErrors; }>; constructor(pgSubscriptStateCalculator: PgSubscriptStateCalculator); checkSubscriptState(host: PgSubscriptMessagesComponent, animate?: boolean): any; private animateMessageState; private _setSubscriptStyleToState; private _getTargetSubscriptWrapperHeight; private _shouldSkipFirstLineHeightCalculation; static ɵfac: i0.ɵɵFactoryDef; static ɵprov: i0.ɵɵInjectableDef; } export declare const PG_SUBSCRIPT_STATE_CONTROLLER_TOKEN: InjectionToken; export declare const PG_SUBSCRIPT_STATE_CONTROLLER_PROVIDER: { provide: InjectionToken; useClass: typeof DefaultSubscriptController; };