import type { FormField } from '@funkit/connect-core'; import type { TextInputProps } from 'react-native'; /** * What the platform needs in order to offer an address the user already has. * * Both are declared: iOS reads `textContentType`, Android reads `autoComplete`, * and a field that declares only one is filled on only one platform. */ export interface FieldAutofill { textContentType?: TextInputProps['textContentType']; autoComplete?: TextInputProps['autoComplete']; /** Names are capitalised as the user would write them, codes as codes. */ autoCapitalize?: TextInputProps['autoCapitalize']; } /** What the platform should offer for this field, if anything. */ export declare function fieldAutofill(field: FormField): FieldAutofill; //# sourceMappingURL=fieldAutofill.d.ts.map