/**
 * Flow graph definitions — FBP graphs stored in the dedicated graph Merkle store
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { FunctionGraphSelect, FunctionGraphWithRelations, FunctionGraphPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { FunctionGraphSelect, FunctionGraphWithRelations, FunctionGraphPatch, } from '../../orm/input-types';
/**
 * Flow graph definitions — FBP graphs stored in the dedicated graph Merkle store
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateFunctionGraphMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', functionGraphPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateFunctionGraphMutation<S extends FunctionGraphSelect>(params: {
    selection: {
        fields: S & FunctionGraphSelect;
    } & HookStrictSelect<NoInfer<S>, FunctionGraphSelect>;
} & Omit<UseMutationOptions<{
    updateFunctionGraph: {
        functionGraph: InferSelectResult<FunctionGraphWithRelations, S>;
    };
}, Error, {
    id: string;
    functionGraphPatch: FunctionGraphPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateFunctionGraph: {
        functionGraph: InferSelectResult<FunctionGraphWithRelations, S>;
    };
}, Error, {
    id: string;
    functionGraphPatch: FunctionGraphPatch;
}>;
