/**
 * Custom mutation hook for setAndCommit
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { SetAndCommitVariables } from '../../orm/mutation';
import type { SetAndCommitPayloadSelect, SetAndCommitPayload } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { SetAndCommitVariables } from '../../orm/mutation';
export type { SetAndCommitPayloadSelect } from '../../orm/input-types';
export declare function useSetAndCommitMutation<S extends SetAndCommitPayloadSelect>(params: {
    selection: {
        fields: S & SetAndCommitPayloadSelect;
    } & HookStrictSelect<NoInfer<S>, SetAndCommitPayloadSelect>;
} & Omit<UseMutationOptions<{
    setAndCommit: InferSelectResult<SetAndCommitPayload, S> | null;
}, Error, SetAndCommitVariables>, 'mutationFn'>): UseMutationResult<{
    setAndCommit: InferSelectResult<SetAndCommitPayload, S> | null;
}, Error, SetAndCommitVariables>;
