import { AxiosError } from 'axios'; import { AppThunk } from 'store'; import { ICategory } from '../../entities/category.type'; export declare const addCategoryRequest: (partialCategory: Partial, parentId: string | undefined, onError: (err?: AxiosError | { message: string; statusCode: string; }) => void) => AppThunk>;