export interface DefaultSectionItem { id: string | number; title: string; Icon: () => JSX.Element; onPress: () => void; } /** * Generic Section Item */ export interface SectionItem { title: string; data: DataType[]; } /** * Configuration for the SectionList */ export interface SectionListConfig { title: string; items: ItemT[]; } /** * Hook return type */ interface UseSectionListDataReturn { sections: SectionItem[]; } /** * Generic hook for creating SectionList data */ export declare const useSectionListData: ({ configs, options, }: { configs: SectionListConfig[]; options?: { transformItem?: (item: ItemType) => unknown; transformHeader?: (title: string) => string; emptyStateFallback?: SectionItem[]; debug?: boolean; }; }) => UseSectionListDataReturn; export {};