import { IAppState, IPayloadError } from 'store'; import { IPerson } from '../../entities/person.entity'; import { errorSelector as personsErrorSelector, loadingSelector as personsLoadingSelector, personsSelector, PersonState, totalSelector as personsTotalSelector } from './get-persons.slice'; interface InitialState { me?: IPerson; loading?: { [key: string]: boolean; }; loadingPasswordChange: boolean; loadingAddPicture: boolean; person: { person?: Partial; loading: boolean; error: string; }; } export declare type State = InitialState & PersonState; export declare const personSelector: (state: IAppState) => Partial>; export declare const personLoadingSelector: (state: IAppState) => boolean; export declare const personErrorSelector: (state: IAppState) => string; export declare const idSelector: (state: IAppState) => string; export declare const meSelector: (state: IAppState) => IPerson; export declare const loadingSelector: (state: IAppState) => { [key: string]: boolean; } & { [key: string]: boolean; }; export declare const meLoadingSelector: (state: IAppState) => boolean; export declare const loadingChangePasswordSelector: (state: IAppState) => boolean; export declare const serviceTypeSelector: (state: IAppState) => string; export declare const fetchClear: import("@reduxjs/toolkit").ActionCreatorWithoutPayload, fetchPersonsMe: import("@reduxjs/toolkit").ActionCreatorWithoutPayload, fetchPersonsMeFailed: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload, fetchPersonsMeSucceeded: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload, string>, fetchChangePassword: import("@reduxjs/toolkit").ActionCreatorWithoutPayload, fetchChangePasswordFailed: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload, fetchChangePasswordSucceeded: import("@reduxjs/toolkit").ActionCreatorWithoutPayload, fetchUpdateUserAndChangePassword: import("@reduxjs/toolkit").ActionCreatorWithoutPayload, fetchUpdateUserAndChangePasswordFailed: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload, fetchUpdateUserAndChangePasswordSucceeded: import("@reduxjs/toolkit").ActionCreatorWithoutPayload, fetchPersons: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{ key: string; }, string>, fetchPersonsClear: import("@reduxjs/toolkit").ActionCreatorWithoutPayload, fetchPersonsFailed: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{ key: string; data?: { [key: string]: IPayloadError; }; error: IPayloadError; }, string>, fetchPersonsSucceeded: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{ key: string; data?: { [key: string]: IPerson; }; total?: number; page?: number; itemsPerPage?: number; id?: string; }, string>, fetchPerson: import("@reduxjs/toolkit").ActionCreatorWithoutPayload, fetchPersonSucceeded: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload, string>, fetchPersonFailed: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload, fetchAddPicturePerson: import("@reduxjs/toolkit").ActionCreatorWithoutPayload, fetchAddPicturePersonFailed: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload, fetchAddPicturePersonSucceeded: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload, string>, fetchPersonDisabledSucceeded: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload, fetchPersonEnabledSucceeded: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload, fetchPersonsSearchSucceeded: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{ key: string; data?: { [key: string]: IPerson; }; total?: number; page?: number; itemsPerPage?: number; id?: string; }, string>, fetchUpdatePerson: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload, fetchUpdatePersonFailed: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{ id: string; error: string; }, string>, fetchUpdatePersonSucceeded: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{ id: string; data: IPerson; }, string>; export declare const personReducer: import("redux").Reducer; export { personsSelector, personsLoadingSelector, personsErrorSelector, personsTotalSelector, };