import { type RowAction, type TableRow } from "@appcorp/shadcn/components/enhanced-table"; export declare const useExpenseModule: () => { applyFilters: () => void; byIdLoading: boolean; clearFilters: () => void; clearSearch: () => void; closeDrawer: () => void; deleteLoading: boolean; handleChange: (field: string, value: string | number | boolean | string[] | undefined) => void; handleCreate: () => void; handleDelete: (row?: TableRow) => void; handleEdit: (row?: TableRow) => void; handleFilters: () => void; handleMoreActions: () => void; handlePageChange: (page: number | unknown) => void; handlePageLimitChange: (k: string, value: object) => void; handleSearch: (query: string) => void; handleSubmit: () => void; handleView: (row?: TableRow) => void; headerActions: { enabled: boolean; handleOnClick: () => void; label: string; order: number; }[]; listFetchNow: (url?: string, config?: import("@react-pakistan/util-functions/hooks/use-fetch").FetchConfig) => void; listLoading: boolean; rowActions: RowAction[]; updateLoading: boolean; handleCloseDrawer?: () => void; state: { items: import("../../../types").ExpenseBE[]; count: number; currentPage: number; pageLimit: number; searchQuery: string; disableSaveButton: boolean; drawer: string | null; errors: Record; amount: number; approvedBy: string; attachments: string[]; category: import("../../../types").EXPENSE_CATEGORY | ""; description: string; enabled: boolean; expenseDate: string; id: string; invoiceNumber: string; paidBy: string; paymentDate: string; paymentMethod: import("../../../types").PAYMENT_METHOD | ""; receiptNumber: string; remarks: string; schoolId: string; status: import("../../../types").EXPENSE_STATUS | ""; title: string; transactionId: string; vendorContact: string; vendorName: string; filterCategory: import("../../../types").EXPENSE_CATEGORY | ""; filterEnabled: boolean | undefined; filterStatus: import("../../../types").EXPENSE_STATUS | ""; school: import("../../../types").SchoolBE | undefined; }; dispatch: React.Dispatch; };