import React, { useState } from 'react'; import { View, StyleSheet, FlatList, RefreshControl, } from 'react-native'; import { Searchbar, Chip, FAB } from 'react-native-paper'; import { useNavigation } from '@react-navigation/native'; import type { NativeStackNavigationProp } from '@react-navigation/native-stack'; import { useSelector } from 'react-redux'; import { selectUser } from '../../store/slices/authSlice'; import { usePaginatedList } from '../../hooks/usePaginatedList'; import { proposalsApi, type ProposalListItem } from '../../lib/api/proposals'; import { ProposalCard } from '../../components/ProposalCard'; import { EmptyState } from '../../components/EmptyState'; import { PROPOSAL_STATUSES } from '../../constants'; import type { ProposalsStackParamList } from '../../navigation/types'; type Nav = NativeStackNavigationProp; export function ProposalQueueScreen() { const navigation = useNavigation