import { Wretcher } from 'wretch'; import { Auth } from '../../common/api/schema/auth.schema'; import type { Post } from '../../common/api/types'; import { CandidateFullInfoType } from '../../schema/Candidate.schema'; export interface ActionCreators { getToken: Post, Auth>; saveAndPreviewContract: Post<{ candidateFullInfo: CandidateFullInfoType; }, string>; saveContract: Post<{ candidateFullInfo: CandidateFullInfoType; }, string>; getActiveCandidateList: Post<{ companyId: string; }, []>; deleteCandidate: Post<{ companyId: string; candidateId: string; }, string>; } export declare const getActionCreators: (gateway: Wretcher) => ActionCreators; export declare const useActionCreators: () => { actionCreators: ActionCreators; headers: Record; };