import { FdoMenuV4Category } from "@feedmepos/menu/entity";
import { useDialog } from "@feedmepos/ui-library";
import { useMenuLoader } from "@/helper/menu";
type MenuLoader = ReturnType<typeof useMenuLoader>;
declare const useCategoryManager: ({ dialog, menuLoader }: {
    dialog: ReturnType<typeof useDialog>;
    menuLoader: MenuLoader;
}) => {
    create: () => void;
    update: (category: z.infer<z.ZodObject<{
        _id: z.ZodString;
        name: z.ZodString;
        position: z.ZodNumber;
        thumbnail: z.ZodNullable<z.ZodOptional<z.ZodString>>;
    }, "strip", z.ZodTypeAny, {
        thumbnail?: string | null | undefined;
        name: string;
        position: number;
        _id: string;
    }, {
        thumbnail?: string | null | undefined;
        name: string;
        position: number;
        _id: string;
    }>>) => void;
    deleteCategory: (category: z.infer<z.ZodObject<{
        _id: z.ZodString;
        name: z.ZodString;
        position: z.ZodNumber;
        thumbnail: z.ZodNullable<z.ZodOptional<z.ZodString>>;
    }, "strip", z.ZodTypeAny, {
        thumbnail?: string | null | undefined;
        name: string;
        position: number;
        _id: string;
    }, {
        thumbnail?: string | null | undefined;
        name: string;
        position: number;
        _id: string;
    }>>) => void;
    rearrange: (ids: string[]) => void;
};
export default useCategoryManager;
