import { EditableTextBase as EditableTextBaseCommon, autofillTypeProperty, keyboardTypeProperty, returnKeyTypeProperty, editableProperty, autocapitalizationTypeProperty, autocorrectProperty, hintProperty, placeholderColorProperty, maxLengthProperty } from './editable-text-base-common';
import { textTransformProperty, textProperty } from '../text-base';
import { Color } from '../../color';
import { CoreTypes } from '../../core-types';
export * from './editable-text-base-common';
export declare let dismissKeyboardTimeoutId: number;
export declare abstract class EditableTextBase extends EditableTextBaseCommon {
    [textProperty.getDefault]: () => number | symbol;
    [textProperty.setNative]: (value: string | number | symbol) => void;
    [keyboardTypeProperty.getDefault]: () => number;
    [keyboardTypeProperty.setNative]: (value: "datetime" | "phone" | "number" | "decimal" | "url" | "email" | "integer" | number) => void;
    [autofillTypeProperty.setNative]: (value: CoreTypes.AutofillType) => void;
    [returnKeyTypeProperty.getDefault]: () => "done" | "next" | "go" | "search" | "send" | string;
    [returnKeyTypeProperty.setNative]: (value: "done" | "next" | "go" | "search" | "send" | string) => void;
    [editableProperty.setNative]: (value: boolean) => void;
    [autocapitalizationTypeProperty.getDefault]: () => "none" | "words" | "sentences" | "allcharacters" | string;
    [autocapitalizationTypeProperty.setNative]: (value: string) => void;
    [autocorrectProperty.getDefault]: () => boolean;
    [autocorrectProperty.setNative]: (value: boolean) => void;
    [hintProperty.getDefault]: () => string;
    [hintProperty.setNative]: (value: string) => void;
    [placeholderColorProperty.getDefault]: () => android.content.res.ColorStateList;
    [placeholderColorProperty.setNative]: (value: Color | android.content.res.ColorStateList) => void;
    [textTransformProperty.setNative]: (value: "default") => void;
    [maxLengthProperty.setNative]: (value: number) => void;
    nativeViewProtected: android.widget.EditText;
    nativeTextViewProtected: android.widget.EditText;
    private _dirtyTextAccumulator;
    private _keyListenerCache;
    private _inputType;
    _changeFromCode: boolean;
    abstract _configureEditText(editText: android.widget.EditText): void;
    _onReturnPress(): void;
    createNativeView(): globalAndroid.widget.EditText;
    initNativeView(): void;
    disposeNativeView(): void;
    resetNativeView(): void;
    onUnloaded(): void;
    dismissSoftInput(): void;
    focus(): boolean;
    _setInputType(inputType: number): void;
    setSelection(start: number, stop?: number): void;
    beforeTextChanged(text: string, start: number, count: number, after: number): void;
    onTextChanged(text: string, start: number, before: number, count: number): void;
    afterTextChanged(editable: android.text.Editable): void;
    onFocusChange(view: android.view.View, hasFocus: boolean): void;
    onEditorAction(textView: android.widget.TextView, actionId: number, event: android.view.KeyEvent): boolean;
}
