import { EventEmitter } from '@angular/core'; import type { OnDestroy } from '@angular/core'; import { type ControlValueAccessor } from '@angular/forms'; import type { IActivityIndicatorProps, IInputAccessoryViewViewProps, ILayoutConformanceMode, IModalViewProps, ISwitchProps, ITextInputProps } from '@symbiote-native/components'; import type { IStickyHeaderElementProps } from './element-props'; import type { IAngularRefreshControlProps } from './components/refresh-control-props'; import { TextInputNativeInputs } from './element-text-input-native'; import { ReadBackElement, SymbioteElement, ValueChangeElement } from './element-base'; import * as i0 from "@angular/core"; export declare class TextInputElement extends TextInputNativeInputs { value?: ITextInputProps['value']; defaultValue?: ITextInputProps['defaultValue']; placeholder?: ITextInputProps['placeholder']; placeholderTextColor?: ITextInputProps['placeholderTextColor']; multiline?: ITextInputProps['multiline']; numberOfLines?: ITextInputProps['numberOfLines']; maxLength?: ITextInputProps['maxLength']; editable?: ITextInputProps['editable']; readOnly?: ITextInputProps['readOnly']; autoFocus?: ITextInputProps['autoFocus']; autoCapitalize?: ITextInputProps['autoCapitalize']; autoComplete?: ITextInputProps['autoComplete']; autoCorrect?: ITextInputProps['autoCorrect']; blurOnSubmit?: ITextInputProps['blurOnSubmit']; submitBehavior?: ITextInputProps['submitBehavior']; cursorColor?: ITextInputProps['cursorColor']; enterKeyHint?: ITextInputProps['enterKeyHint']; returnKeyType?: ITextInputProps['returnKeyType']; inputMode?: ITextInputProps['inputMode']; keyboardType?: ITextInputProps['keyboardType']; inputAccessoryViewID?: ITextInputProps['inputAccessoryViewID']; scrollEnabled?: ITextInputProps['scrollEnabled']; secureTextEntry?: ITextInputProps['secureTextEntry']; selectTextOnFocus?: ITextInputProps['selectTextOnFocus']; selection?: ITextInputProps['selection']; selectionColor?: ITextInputProps['selectionColor']; selectionHandleColor?: ITextInputProps['selectionHandleColor']; showSoftInputOnFocus?: ITextInputProps['showSoftInputOnFocus']; textAlign?: ITextInputProps['textAlign']; textContentType?: ITextInputProps['textContentType']; underlineColorAndroid?: ITextInputProps['underlineColorAndroid']; onValueChange?: ITextInputProps['onValueChange']; onChangeText?: ITextInputProps['onChangeText']; onContentSizeChange?: ITextInputProps['onContentSizeChange']; onEndEditing?: ITextInputProps['onEndEditing']; onKeyPress?: ITextInputProps['onKeyPress']; onSelectionChange?: ITextInputProps['onSelectionChange']; onSubmitEditing?: ITextInputProps['onSubmitEditing']; readonly valueChange: EventEmitter; protected hasValueSubscriber(): boolean; protected emitValue(value: unknown): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare class MultilineTextInputElement extends TextInputElement { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare class SwitchElement extends ValueChangeElement { value?: ISwitchProps['value']; disabled?: ISwitchProps['disabled']; trackColor?: ISwitchProps['trackColor']; thumbColor?: ISwitchProps['thumbColor']; ios_backgroundColor?: ISwitchProps['ios_backgroundColor']; onValueChange?: ISwitchProps['onValueChange']; readonly valueChange: EventEmitter>; protected hasValueSubscriber(): boolean; protected emitValue(value: unknown): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * `[(ngModel)]` / `formControlName` on a `` or a ``. * * The wrappers provided `NG_VALUE_ACCESSOR` themselves; a tag has no class for @angular/forms to * call into, so the accessor moves onto a directive of its own rather than being dropped — the * shape Angular's own `DefaultValueAccessor` takes for ``. Providing it unconditionally is * safe: @angular/forms looks the accessor up only when an `ngModel` / `formControl*` directive sits * on the SAME element, so a plain `` never reaches it. * * Everything below goes through `Renderer2`, which is the adapter's own — `setProperty` lands in * `routeProp` and `listen('valueChange')` is already unwrapped to a bare value there, so this * directive holds no fold of its own. */ declare abstract class SymbioteValueAccessor implements ControlValueAccessor, OnDestroy { private readonly renderer; private readonly host; private unlisten?; protected abstract writeDisabled(isDisabled: boolean): void; protected setProp(name: string, value: unknown): void; writeValue(value: unknown): void; registerOnChange(fn: (value: unknown) => void): void; registerOnTouched(fn: () => void): void; setDisabledState(isDisabled: boolean): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare class TextInputValueAccessor extends SymbioteValueAccessor { protected writeDisabled(isDisabled: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare class SwitchValueAccessor extends SymbioteValueAccessor { protected writeDisabled(isDisabled: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare class ActivityIndicatorElement extends SymbioteElement { animating?: IActivityIndicatorProps['animating']; color?: IActivityIndicatorProps['color']; size?: IActivityIndicatorProps['size']; hidesWhenStopped?: IActivityIndicatorProps['hidesWhenStopped']; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare class ActivityIndicatorSpinnerElement extends ActivityIndicatorElement { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare class SafeAreaViewElement extends SymbioteElement { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare class LayoutConformanceElement extends SymbioteElement { mode?: ILayoutConformanceMode; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare class ModalElement extends SymbioteElement { visible?: IModalViewProps['visible']; transparent?: IModalViewProps['transparent']; animationType?: IModalViewProps['animationType']; presentationStyle?: IModalViewProps['presentationStyle']; supportedOrientations?: IModalViewProps['supportedOrientations']; hardwareAccelerated?: IModalViewProps['hardwareAccelerated']; statusBarTranslucent?: IModalViewProps['statusBarTranslucent']; navigationBarTranslucent?: IModalViewProps['navigationBarTranslucent']; allowSwipeDismissal?: IModalViewProps['allowSwipeDismissal']; backdropColor?: IModalViewProps['backdropColor']; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare class RefreshControlElement extends ReadBackElement { refreshing?: IAngularRefreshControlProps['refreshing']; enabled?: IAngularRefreshControlProps['enabled']; colors?: IAngularRefreshControlProps['colors']; tintColor?: IAngularRefreshControlProps['tintColor']; title?: IAngularRefreshControlProps['title']; titleColor?: IAngularRefreshControlProps['titleColor']; size?: IAngularRefreshControlProps['size']; progressBackgroundColor?: IAngularRefreshControlProps['progressBackgroundColor']; progressViewOffset?: IAngularRefreshControlProps['progressViewOffset']; onRefresh?: IAngularRefreshControlProps['onRefresh']; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare class StickyHeaderElement extends SymbioteElement { inverted?: IStickyHeaderElementProps['inverted']; nextHeaderLayoutY?: IStickyHeaderElementProps['nextHeaderLayoutY']; scrollAnimatedValue?: IStickyHeaderElementProps['scrollAnimatedValue']; scrollViewHeight?: IStickyHeaderElementProps['scrollViewHeight']; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare class InputAccessoryViewElement extends SymbioteElement { backgroundColor?: IInputAccessoryViewViewProps['backgroundColor']; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export {};