/** * Maps the items to items with an active property */ export declare const mapToActiveIndex: (items: GItem[], activeIndex: number) => (GItem & { active: boolean; })[]; interface CalculateNewIndexFromArrowPressParams { /** * Whether the arrow key was the up key or the down key */ direction: 'up' | 'down'; /** * The total number of matches */ matchLength: number; /** * The previously matched index */ prevIndex: number; } export declare const calculateNewIndexFromArrowPress: ({ direction, matchLength, prevIndex, }: CalculateNewIndexFromArrowPressParams) => number; export {}; //# sourceMappingURL=twitter-utils.d.ts.map