import { AfterContentInit, ElementRef } from '@angular/core'; import { Subject } from 'rxjs'; import { ErrorsList } from '../errors/errors.component'; import * as i0 from "@angular/core"; export interface FocusableComponent { focus(): void; getText(): string; errors?: ErrorsList; field?: string; onEnter: Subject; } export type SwitchableModeType = 'editable' | 'readable'; export declare class SwitchableComponent implements AfterContentInit { private elementRef; isEditing: boolean; _value: string | number; mode: SwitchableModeType; customOverlayContent: boolean; control?: FocusableComponent; private isEditingClass; constructor(elementRef: ElementRef); get editingClass(): string; get value(): string; get errors(): ErrorsList; get field(): string; ngAfterContentInit(): void; toggleEditing(): void; onClick(event: MouseEvent): void; addClickOutsideListener(): void; removeClickOutsideListener(): void; open(): void; close(): void; focusControl(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }