/**
 * Named stores — one per version-controlled tree (e.g. one graph, one definition set)
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { InfraStoreSelect, InfraStoreWithRelations, InfraStorePatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { InfraStoreSelect, InfraStoreWithRelations, InfraStorePatch, } from '../../orm/input-types';
/**
 * Named stores — one per version-controlled tree (e.g. one graph, one definition set)
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateInfraStoreMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', infraStorePatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateInfraStoreMutation<S extends InfraStoreSelect>(params: {
    selection: {
        fields: S & InfraStoreSelect;
    } & HookStrictSelect<NoInfer<S>, InfraStoreSelect>;
} & Omit<UseMutationOptions<{
    updateInfraStore: {
        infraStore: InferSelectResult<InfraStoreWithRelations, S>;
    };
}, Error, {
    id: string;
    infraStorePatch: InfraStorePatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateInfraStore: {
        infraStore: InferSelectResult<InfraStoreWithRelations, S>;
    };
}, Error, {
    id: string;
    infraStorePatch: InfraStorePatch;
}>;
