import type { FetchConfig } from "@react-pakistan/util-functions/hooks/use-fetch"; export interface ExpenseApiContextType { listFetchNow: (url?: string, config?: FetchConfig) => void; listLoading: boolean; updateFetchNow: (url?: string, config?: FetchConfig) => void; updateLoading: boolean; byIdFetchNow: (url?: string, config?: FetchConfig) => void; byIdLoading: boolean; deleteFetchNow?: (url?: string, config?: FetchConfig) => void; deleteLoading: boolean; resetFormAndCloseDrawer: () => void; } export declare const useExpenseApiContext: () => ExpenseApiContextType; export declare const ExpenseApiProvider: ({ children, }: { children: React.ReactNode; }) => import("react").JSX.Element;