import { PAYMENT_STATUS, StudentFeeBE } from "../../types"; export interface SelectedTotals { amount: number; fine: number; total: number; } export declare function sortFeesOldestFirst(fees: StudentFeeBE[]): StudentFeeBE[]; export declare function initialSelectedIds(fees: StudentFeeBE[]): string[]; export declare function computeSelectedTotals(fees: StudentFeeBE[]): SelectedTotals; export declare function formatVoucherMonth(dueDate: Date | string): string; export interface BuildSingleEntryBodyInput { studentFees: StudentFeeBE[]; selectedIds: string[]; status: PAYMENT_STATUS; paidAt: string | null; remarks: string | null; schoolId: string; } export declare function buildSingleEntryBody(input: BuildSingleEntryBodyInput): { studentFees: { status: PAYMENT_STATUS; amount: number; amountDue: number; amountPaid: number; createdAt: string; discountAmount: number | null; discountCodeId: string | null; dueDate: Date | string; enabled: boolean; familyId: string; feeStructureId: string; fine: number | null; id: string; lastRemindedAt: Date | string | null; nextFollowUpAt: Date | string | null; reliabilityScore: number | null; paidAt: Date | string | null; remarks: string | null; riskLevel: import("../../types").FEE_RISK_LEVEL | null; schoolId: string; studentProfileId: string; updatedAt: string; agentActivities?: import("../../types").FeeAgentActivityBE[]; conversations?: import("../../types").FeeConversationBE[]; discountCode?: import("../../types").DiscountCodeBE; family?: import("../../types").FamilyBE; feeStructure?: import("../../types").FeeStructureBE; school?: import("../../types").SchoolBE; studentProfile?: import("../../types").StudentProfileBE; }[]; amountPaid: number; paidAt: string | null; remarks: string; schoolId: string; };