import { ActivityStatus, type ActivityDetailPageProps, type Member, type Occurrence } from "./ActivityDetailPage.types"; import { ActivityStatusEnum } from "../ActivityListPage/ActivityListPage.types"; declare const useActivityDetailPage: (props: ActivityDetailPageProps) => { data: { activity: { title: string; id: string; status: "PENDING" | "CONFIRMED" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL"; description: string; members: { list: { id: string; firstName: string; lastName: string; status?: string | undefined; declineReason?: string | undefined; avatarUrl?: string | null | undefined; participationStatus?: "PENDING" | "CONFIRMED" | "DECLINED" | undefined; ranks?: { id: string; name: string; date: string; description: string; level: number; }[] | undefined; roles?: { id: string; name: string; description: string; startDate: string; endDate: string | null; }[] | undefined; birthDate?: string | undefined; confirmedAt?: string | undefined; attendanceStatus?: "PRESENT" | "ABSENT" | undefined; }[]; count: number; }; terreiroId: string; insumos: { list: { id: string; quantity: number; minimumQuantity: number | null; inventoryItem: { id: string; status: string; name: string; location: string | null; item: { id: string | null; name: string | null; description: string | null; category: { id: string | null; name: string | null; }; }; description: string; imageUrl: string | null; unit: string; quantity: number; minimumQuantity: number; condition: string | null; consumable?: boolean | undefined; }; }[]; count: number; }; isTemplate: boolean; occurrences: { list: { date: string; startTime: string; endTime: string; id?: string | undefined; }[]; count: number; }; qrReleaseOffsetMinutes?: number | null | undefined; qrCheckinGraceMinutes?: number | null | undefined; checkinStartWindowMinutes?: number | null | undefined; checkinEndWindowMinutes?: number | null | undefined; minConfirmedMembers?: number | undefined; } | null; isLoading: boolean; error: string | null | undefined; isAdmin: boolean; currentMemberId: string | undefined; formatDate: (dateString: string) => string; formatTime: (timeString: string) => string; getStatusLabel: (status: string) => string; getStatusColor: (status: string) => string; getMemberFullName: (member: Member) => string; getMemberPrimaryRole: (member: Member) => string; getMemberHighestRank: (member: Member) => string; getStatusMenuOptions: (activity?: { status: ActivityStatusEnum; occurrences?: { list: Occurrence[]; }; }) => { value: ActivityStatus | "IN_PROGRESS_DERIVED"; label: string; color: string; disabled?: boolean; }[]; }; fns: { handleClose: () => void; handleEdit: () => void; handleAddMedium: () => void; handleAddSupply: () => void; handleChangeStatus: (status: ActivityStatusEnum) => Promise; handleUseModel: (activityId: string) => void; handleConfirmParticipation: (data: { entityId: string; memberId: string; }) => void; handleDeclineParticipation: (data: { entityId: string; memberId: string; reason: string; }) => void; }; }; export default useActivityDetailPage;