import { buttonColorProperty, counterMaxLengthProperty, errorColorProperty, errorProperty, floatingColorProperty, floatingInactiveColorProperty, floatingProperty, helperColorProperty, helperProperty, strokeColorProperty, strokeInactiveColorProperty } from '@nativescript-community/ui-material-core/textbase/cssproperties';
import { Background, Color, Style, backgroundInternalProperty, editableProperty, hintProperty, placeholderColorProperty } from '@nativescript/core';
import { TextViewBase } from './textview.common';
declare module '@nativescript/core/ui/text-view' {
    interface TextView {
        setFormattedTextDecorationAndTransform(): any;
        setTextDecorationAndTransform(): any;
    }
}
declare module '@nativescript/core/ui/text-field' {
    interface TextField {
        textFieldShouldChangeCharactersInRangeReplacementString(textField: UITextField, range: NSRange, replacementString: string): boolean;
    }
}
export declare class TextView extends TextViewBase {
    [hintProperty.getDefault]: () => string;
    [hintProperty.setNative]: (value: string) => void;
    [editableProperty.setNative]: (value: boolean) => void;
    [floatingColorProperty.setNative]: (value: Color) => void;
    [floatingInactiveColorProperty.setNative]: (value: Color) => void;
    [placeholderColorProperty.setNative]: (value: Color) => void;
    [errorColorProperty.setNative]: (value: Color) => void;
    [strokeColorProperty.setNative]: (value: Color) => void;
    [strokeInactiveColorProperty.setNative]: (value: Color) => void;
    [buttonColorProperty.setNative]: (value: Color) => void;
    [helperProperty.setNative]: (value: string) => void;
    [helperColorProperty.setNative]: (value: string | Color) => void;
    [counterMaxLengthProperty.setNative]: (value: number) => void;
    [floatingProperty.setNative]: (value: boolean) => void;
    [errorProperty.setNative]: (value: string) => void;
    [backgroundInternalProperty.setNative]: (value: Background) => void;
    nativeViewProtected: MDCMultilineTextField;
    private _controller;
    _isEditing: boolean;
    readonly style: Style & {
        variant: 'outline' | 'underline' | 'filled';
    };
    clearFocus(): void;
    requestFocus(): void;
    get ios(): MDCIntrinsicHeightTextView;
    get nativeTextViewProtected(): MDCIntrinsicHeightTextView;
    _getTextInsetsForBounds(insets: UIEdgeInsets): UIEdgeInsets;
    _onTextFieldDidChangeContentSize(size: CGSize): void;
    createNativeView(): MDCMultilineTextField;
    layoutDelegate: MDCMultilineTextInputLayoutDelegate;
    initNativeView(): void;
    disposeNativeView(): void;
    blur(): void;
    setSelection(start: number, stop?: number): void;
    _isShowingHint: boolean;
    _textColor: UIColor;
    _hintColor: UIColor;
    _refreshColor(): void;
    setFormattedTextDecorationAndTransform(): void;
    setTextDecorationAndTransform(): void;
}
