import { TextStyle, ViewStyle } from 'react-native'; import { TSelectedItem } from '../types/index.types'; import { TFlatList, TFlatListItem, TSectionList } from '../types/index.types'; export declare const extractPropertyFromArray: (arr: any[], property: string) => any[]; export declare const escapeRegExp: (text: string) => string; export declare const removeDisabledItems: (items: TFlatList) => TFlatListItem[]; export declare const isSectionList: (options: TFlatList | TSectionList) => boolean; /** * * @description get the labels of the items that were selected from the options array for either multiple or single selections * @returns */ export declare const getSelectionsData: ({ isMultiple, optionValue, selectedItem, selectedItems, modifiedOptions, }: { isMultiple: boolean; optionValue: string; selectedItem: TSelectedItem; selectedItems: TSelectedItem[]; modifiedOptions: TFlatList; }) => TFlatListItem | TFlatListItem[]; export declare const extractTextStylesFromArray: (styleArray?: (ViewStyle & TextStyle)[]) => Record; export declare const shallowArrayEqual: (a?: T[], b?: T[]) => boolean; //# sourceMappingURL=index.d.ts.map