analytica-frontend-lib
Version:
Repositório público dos componentes utilizados nas plataformas da Analytica Ensino
23 lines • 670 B
TypeScript
import type { BaseApiClient } from '../../types/api';
import type { UseSimulatedOverviewReturn } from './types';
/**
* Hook for fetching simulated exams overview data
* Supports ENEM Prova 1, ENEM Prova 2, and Essays
*
* @param api - API client with post method
*
* @example
* ```tsx
* const { data, loading, error, fetchOverview } = useSimulatedOverview(api);
*
* fetchOverview({
* simulationType: 'enem-1',
* period: '1_MONTH',
* subjectId: 'subject-uuid',
* page: 1,
* limit: 10,
* });
* ```
*/
export declare function useSimulatedOverview(api: BaseApiClient): UseSimulatedOverviewReturn;
//# sourceMappingURL=useSimulatedOverview.d.ts.map