import { EXPENSE_CATEGORY, EXPENSE_STATUS, ExpenseBE, PAYMENT_METHOD, SchoolBE } from "../../../type"; export declare const EXPENSE_DRAWER: { readonly FILTER_DRAWER: string; readonly FORM_DRAWER: string; readonly MORE_ACTIONS_DRAWER: string; readonly VIEW_DRAWER: string; }; export interface ExpensesListResponse { items: ExpenseBE[]; count: number; currentPage: number; pageLimit: number; } export declare const EXPENSE_ACTION_TYPES: { readonly RESET_FORM: "RESET_FORM"; readonly SET_CURRENT_PAGE: "SET_CURRENT_PAGE"; readonly SET_PAGE_LIMIT: "SET_PAGE_LIMIT"; readonly SET_SEARCH_QUERY: "SET_SEARCH_QUERY"; readonly SET_DRAWER: "SET_DRAWER"; readonly SET_ITEMS: "SET_ITEMS"; readonly SET_FORM_DATA: "SET_FORM_DATA"; readonly SET_DISABLE_SAVE_BUTTON: "SET_DISABLE_SAVE_BUTTON"; readonly SET_INPUT_FIELD: "SET_INPUT_FIELD"; readonly SET_ERRORS: "SET_ERRORS"; readonly SET_FILTERS: "SET_FILTERS"; }, expenseModuleConfig: import("@react-pakistan/util-functions/factory/generic-module-factory").ModuleConfig<{ items: ExpenseBE[]; count: number; currentPage: number; pageLimit: number; searchQuery: string; disableSaveButton: boolean; drawer: string | null; errors: Record; amount: number; approvedBy: string; attachments: string[]; category: EXPENSE_CATEGORY | ""; description: string; enabled: boolean; expenseDate: string; id: string; invoiceNumber: string; paidBy: string; paymentDate: string; paymentMethod: PAYMENT_METHOD | ""; receiptNumber: string; remarks: string; schoolId: string; status: EXPENSE_STATUS | ""; title: string; transactionId: string; vendorContact: string; vendorName: string; filterCategory: EXPENSE_CATEGORY | ""; filterEnabled: boolean | undefined; filterStatus: EXPENSE_STATUS | ""; school: SchoolBE | undefined; }>, initialExpenseState: { items: ExpenseBE[]; count: number; currentPage: number; pageLimit: number; searchQuery: string; disableSaveButton: boolean; drawer: string | null; errors: Record; amount: number; approvedBy: string; attachments: string[]; category: EXPENSE_CATEGORY | ""; description: string; enabled: boolean; expenseDate: string; id: string; invoiceNumber: string; paidBy: string; paymentDate: string; paymentMethod: PAYMENT_METHOD | ""; receiptNumber: string; remarks: string; schoolId: string; status: EXPENSE_STATUS | ""; title: string; transactionId: string; vendorContact: string; vendorName: string; filterCategory: EXPENSE_CATEGORY | ""; filterEnabled: boolean | undefined; filterStatus: EXPENSE_STATUS | ""; school: SchoolBE | undefined; }, ExpenseProvider: import("react").FC<{ children: React.ReactNode; }>, expenseReducer: (state: { items: ExpenseBE[]; count: number; currentPage: number; pageLimit: number; searchQuery: string; disableSaveButton: boolean; drawer: string | null; errors: Record; amount: number; approvedBy: string; attachments: string[]; category: EXPENSE_CATEGORY | ""; description: string; enabled: boolean; expenseDate: string; id: string; invoiceNumber: string; paidBy: string; paymentDate: string; paymentMethod: PAYMENT_METHOD | ""; receiptNumber: string; remarks: string; schoolId: string; status: EXPENSE_STATUS | ""; title: string; transactionId: string; vendorContact: string; vendorName: string; filterCategory: EXPENSE_CATEGORY | ""; filterEnabled: boolean | undefined; filterStatus: EXPENSE_STATUS | ""; school: SchoolBE | undefined; }, action: any) => { items: ExpenseBE[]; count: number; currentPage: number; pageLimit: number; searchQuery: string; disableSaveButton: boolean; drawer: string | null; errors: Record; amount: number; approvedBy: string; attachments: string[]; category: EXPENSE_CATEGORY | ""; description: string; enabled: boolean; expenseDate: string; id: string; invoiceNumber: string; paidBy: string; paymentDate: string; paymentMethod: PAYMENT_METHOD | ""; receiptNumber: string; remarks: string; schoolId: string; status: EXPENSE_STATUS | ""; title: string; transactionId: string; vendorContact: string; vendorName: string; filterCategory: EXPENSE_CATEGORY | ""; filterEnabled: boolean | undefined; filterStatus: EXPENSE_STATUS | ""; school: SchoolBE | undefined; }, useExpenseContext: () => import("@react-pakistan/util-functions/factory/generic-module-factory").GenericModuleContextWithHandlers<{ items: ExpenseBE[]; count: number; currentPage: number; pageLimit: number; searchQuery: string; disableSaveButton: boolean; drawer: string | null; errors: Record; amount: number; approvedBy: string; attachments: string[]; category: EXPENSE_CATEGORY | ""; description: string; enabled: boolean; expenseDate: string; id: string; invoiceNumber: string; paidBy: string; paymentDate: string; paymentMethod: PAYMENT_METHOD | ""; receiptNumber: string; remarks: string; schoolId: string; status: EXPENSE_STATUS | ""; title: string; transactionId: string; vendorContact: string; vendorName: string; filterCategory: EXPENSE_CATEGORY | ""; filterEnabled: boolean | undefined; filterStatus: EXPENSE_STATUS | ""; school: SchoolBE | undefined; }>;