import type { EntityConfig } from '../lib/entities/types';
export interface UseEntityMutationsOptions {
    entityConfig: EntityConfig;
    onSuccess?: (data: unknown, variables: unknown) => void;
    onError?: (error: Error, variables: unknown) => void;
}
export declare function useEntityMutations(options: UseEntityMutationsOptions): {
    create: import("@tanstack/react-query").UseMutateAsyncFunction<any, Error, Record<string, unknown>, {
        previousData: [readonly unknown[], unknown][];
    }>;
    update: import("@tanstack/react-query").UseMutateAsyncFunction<any, Error, {
        id: string;
        data: Record<string, unknown>;
    }, {
        previousData: [readonly unknown[], unknown][];
    }>;
    delete: import("@tanstack/react-query").UseMutateAsyncFunction<{
        id: string;
    }, Error, string, {
        previousData: [readonly unknown[], unknown][];
    }>;
    bulkDelete: import("@tanstack/react-query").UseMutateAsyncFunction<{
        ids: string[];
    }, Error, string[], {
        previousData: [readonly unknown[], unknown][];
    }>;
    isCreating: boolean;
    isUpdating: boolean;
    isDeleting: boolean;
};
//# sourceMappingURL=useEntityMutations.d.ts.map