/**
 * 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 { FunctionGraphStoreSelect, FunctionGraphStoreWithRelations, FunctionGraphStorePatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { FunctionGraphStoreSelect, FunctionGraphStoreWithRelations, FunctionGraphStorePatch, } from '../../orm/input-types';
/**
 * Named stores — one per version-controlled tree (e.g. one graph, one definition set)
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateFunctionGraphStoreMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', functionGraphStorePatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateFunctionGraphStoreMutation<S extends FunctionGraphStoreSelect>(params: {
    selection: {
        fields: S & FunctionGraphStoreSelect;
    } & HookStrictSelect<NoInfer<S>, FunctionGraphStoreSelect>;
} & Omit<UseMutationOptions<{
    updateFunctionGraphStore: {
        functionGraphStore: InferSelectResult<FunctionGraphStoreWithRelations, S>;
    };
}, Error, {
    id: string;
    functionGraphStorePatch: FunctionGraphStorePatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateFunctionGraphStore: {
        functionGraphStore: InferSelectResult<FunctionGraphStoreWithRelations, S>;
    };
}, Error, {
    id: string;
    functionGraphStorePatch: FunctionGraphStorePatch;
}>;
