import type { DonationTypeDTO, PaginatedResponseDTO } from '@explorins/pers-sdk'; /** * React hook for donation operations in the PERS SDK * * Provides methods for managing donations and donation types within the platform. * Supports retrieving available donation categories and types. * * @returns Donation hook with methods for donation management * * @example * ```typescript * function DonationsComponent() { * const { getDonationTypes } = useDonations(); * * const loadDonationTypes = async () => { * try { * const types = await getDonationTypes(); * console.log('Available donation types:', types); * } catch (error) { * console.error('Failed to load donation types:', error); * } * }; * * return ; * } * ``` */ export declare const useDonations: () => { getDonationTypes: () => Promise>; isAvailable: boolean; }; export type DonationHook = ReturnType; //# sourceMappingURL=useDonations.d.ts.map