/**
 * Branch heads — mutable pointers into the commit chain
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { FunctionGraphRefSelect, FunctionGraphRefWithRelations, FunctionGraphRefPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { FunctionGraphRefSelect, FunctionGraphRefWithRelations, FunctionGraphRefPatch, } from '../../orm/input-types';
/**
 * Branch heads — mutable pointers into the commit chain
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateFunctionGraphRefMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', functionGraphRefPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateFunctionGraphRefMutation<S extends FunctionGraphRefSelect>(params: {
    selection: {
        fields: S & FunctionGraphRefSelect;
    } & HookStrictSelect<NoInfer<S>, FunctionGraphRefSelect>;
} & Omit<UseMutationOptions<{
    updateFunctionGraphRef: {
        functionGraphRef: InferSelectResult<FunctionGraphRefWithRelations, S>;
    };
}, Error, {
    id: string;
    databaseId: string;
    functionGraphRefPatch: FunctionGraphRefPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateFunctionGraphRef: {
        functionGraphRef: InferSelectResult<FunctionGraphRefWithRelations, S>;
    };
}, Error, {
    id: string;
    databaseId: string;
    functionGraphRefPatch: FunctionGraphRefPatch;
}>;
