import React from 'react'; import { type AnimationState } from '../../../../hooks/useAnimatedNavigation'; import type { MergedCheckoutHistoryItem } from '../../../../utils/checkout'; import { type BaseActivitySelection } from '../../ActivityTraversalContext'; import type { FunProfileView } from '../../ProfileDetails'; export declare enum SelectedHomeTab { ASSETS = "assets", CHECKOUTS = "checkouts" } /** Buckets checkouts by calendar day, newest day first, each under its date label. */ export declare function groupCheckoutsByDay(checkouts: MergedCheckoutHistoryItem[]): [string, MergedCheckoutHistoryItem[]][]; export declare function Home({ onClose, onChangeView, onSelectActivity, defaultHomeTab, animation, }: { onClose: () => void; onChangeView: (newView: FunProfileView) => void; onSelectActivity: (activity: BaseActivitySelection) => void; defaultHomeTab?: SelectedHomeTab; animation: AnimationState; }): React.JSX.Element;