import { AxiosError } from 'axios'; import { IPerson } from 'person'; import { AppThunk } from 'store'; export declare const getMeRequest: (callback: (error?: { message: string; statusCode: string; }) => void, params?: { [key: string]: string; }) => AppThunk; export declare const updateMe: (partialUser: Partial) => AppThunk>; export declare const updateUserThunk: (id: string, partialUser: Partial) => AppThunk>; export declare const getPersonsRequest: (page?: number, itemsPerPage?: number, params?: {}) => AppThunk; export declare const getSearchPersonsRequest: (page?: number, itemsPerPage?: number, params?: {}) => AppThunk; export declare const getPersonRequest: (personId: string, analytics?: boolean) => AppThunk; export declare const addPersonRequest: (person: Partial) => AppThunk>; export declare const addSuperAdminRequest: (person: Partial, onError: (err?: AxiosError) => void) => AppThunk>; export declare const deletePersonRequest: (userId: string, onError: (err?: AxiosError | { message: string; statusCode: string; }) => void) => AppThunk; export declare const disabledPersonRequest: (personId: string) => AppThunk; export declare const enabledPersonRequest: (personId: string) => AppThunk>;