/**
 * Ephemeral execution state for flow graph evaluation
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { FunctionGraphExecutionSelect, FunctionGraphExecutionWithRelations, FunctionGraphExecutionPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { FunctionGraphExecutionSelect, FunctionGraphExecutionWithRelations, FunctionGraphExecutionPatch, } from '../../orm/input-types';
/**
 * Ephemeral execution state for flow graph evaluation
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateFunctionGraphExecutionMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', functionGraphExecutionPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateFunctionGraphExecutionMutation<S extends FunctionGraphExecutionSelect>(params: {
    selection: {
        fields: S & FunctionGraphExecutionSelect;
    } & HookStrictSelect<NoInfer<S>, FunctionGraphExecutionSelect>;
} & Omit<UseMutationOptions<{
    updateFunctionGraphExecution: {
        functionGraphExecution: InferSelectResult<FunctionGraphExecutionWithRelations, S>;
    };
}, Error, {
    id: string;
    startedAt: string;
    functionGraphExecutionPatch: FunctionGraphExecutionPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateFunctionGraphExecution: {
        functionGraphExecution: InferSelectResult<FunctionGraphExecutionWithRelations, S>;
    };
}, Error, {
    id: string;
    startedAt: string;
    functionGraphExecutionPatch: FunctionGraphExecutionPatch;
}>;
