import type { InputProps as LynxInputProps } from '@byted-doubao-apps/components'; import type { InputProps as TaroInputProps } from '@tarojs/components'; import type { PropMap } from '../types/prop-map.js'; type LynxInputEvent = Parameters>[0]; type LynxFocusEvent = Parameters>[0]; type LynxBlurEvent = Parameters>[0]; type LynxConfirmEvent = Parameters>[0]; type LynxSelectionEvent = Parameters>[0]; export type MappableTaroInputProps = Omit; export type InputCommonEvent = { type: string; timeStamp: number; target: { id: string; tagName: string; dataset: Record; }; currentTarget: { id: string; tagName: string; dataset: Record; }; detail: T; preventDefault: () => void; stopPropagation: () => void; }; type FocusBehavior = { action: 'focus' | 'blur' | null; hasAutoFocused: boolean; }; type MapInputPropsResult = { mapped: Record; unsupported: string[]; inputId: string; resolvedFocus: boolean | undefined; resolvedAutoFocus: boolean | undefined; }; export declare const INPUT_PROP_MAP: PropMap; export declare function mapInputProps(props: MappableTaroInputProps): MapInputPropsResult; export declare function resolveFocusBehavior(focus: boolean | undefined, autoFocus: boolean | undefined, hasAutoFocused: boolean): FocusBehavior; export declare function toInputCommonEvent(detail: T, type: string, inputId: string): InputCommonEvent; export declare function toInputEventDetail(event: LynxInputEvent): TaroInputProps.inputEventDetail; export declare function toFocusEventDetail(event: LynxFocusEvent): TaroInputProps.inputForceEventDetail; export declare function toValueEventDetail(event: LynxBlurEvent | LynxConfirmEvent): TaroInputProps.inputValueEventDetail; export declare function toSelectionChangeEventDetail(event: LynxSelectionEvent): { selectionStart: number; selectionEnd: number; }; export {}; //# sourceMappingURL=map.d.ts.map