/**
 * Database provisioning preset catalog — merkle-versioned head over the infra store
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { DbPresetSelect, DbPresetWithRelations, DbPresetPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { DbPresetSelect, DbPresetWithRelations, DbPresetPatch } from '../../orm/input-types';
/**
 * Database provisioning preset catalog — merkle-versioned head over the infra store
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateDbPresetMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', dbPresetPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateDbPresetMutation<S extends DbPresetSelect>(params: {
    selection: {
        fields: S & DbPresetSelect;
    } & HookStrictSelect<NoInfer<S>, DbPresetSelect>;
} & Omit<UseMutationOptions<{
    updateDbPreset: {
        dbPreset: InferSelectResult<DbPresetWithRelations, S>;
    };
}, Error, {
    id: string;
    dbPresetPatch: DbPresetPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateDbPreset: {
        dbPreset: InferSelectResult<DbPresetWithRelations, S>;
    };
}, Error, {
    id: string;
    dbPresetPatch: DbPresetPatch;
}>;
