import React from 'react'; import { ITouchEvent } from '@tarojs/components'; import { AlignType } from '../../common/type-utils'; interface IconType { icon?: string; color?: string; size?: string | number; className?: string; } export declare type BaseIptBoxProps = Partial<{ leftIconType: string | IconType; rightIconType: string | IconType; label: string; required: boolean; labelWidth: string | number; labelAlign: AlignType; inputAlign: AlignType; leftCls: string; border: boolean; iptClass: string; onChange: (value: string, event?: ITouchEvent) => void; onBlur: (value: string, event?: ITouchEvent) => void; onFocus: (value: string, event?: ITouchEvent) => void; leftSlot: React.ReactNode; rightSlot: React.ReactNode; }>; export declare const defaultIcon: { size: number; color: string; }; export declare const defaultProps: { labelWidth: string; labelAlign: string; inputAlign: string; border: boolean; maxlength: number; cursorSpacing: number; alwaysEmbed: boolean; }; declare const useIptHook: (props: any) => { leftRender: JSX.Element; rightRender: JSX.Element; containerCls: string; placeholderCls: string; handleInput: (e: any) => void; handleFocus: (e: any) => void; handleConfirm: (e: any) => void; handleBlur: (e: any) => void; }; export default useIptHook;