import { ActionCreatorWithPayload } from '@reduxjs/toolkit'; import { UseQuery } from '@reduxjs/toolkit/dist/query/react/buildHooks'; declare type useProfileProps = { id: number; useParticipantQuery: UseQuery; layoutUpdate: ActionCreatorWithPayload; titleFromUser: (data: any) => string; }; /** * customhook that stores the logic of Profile component * @author: Juan David [manolobkno08] (https://github.com/manolobkno08) */ export declare const useProfile: ({ id, useParticipantQuery, layoutUpdate, titleFromUser }: useProfileProps) => { participant: any; isSuccess: boolean; }; export {};