/**
 * Update mutation hook for TableGrant
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { TableGrantSelect, TableGrantWithRelations, TableGrantPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { TableGrantSelect, TableGrantWithRelations, TableGrantPatch, } from '../../orm/input-types';
/**
 * Mutation hook for updating a TableGrant
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateTableGrantMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', tableGrantPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateTableGrantMutation<S extends TableGrantSelect>(params: {
    selection: {
        fields: S & TableGrantSelect;
    } & HookStrictSelect<NoInfer<S>, TableGrantSelect>;
} & Omit<UseMutationOptions<{
    updateTableGrant: {
        tableGrant: InferSelectResult<TableGrantWithRelations, S>;
    };
}, Error, {
    id: string;
    tableGrantPatch: TableGrantPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateTableGrant: {
        tableGrant: InferSelectResult<TableGrantWithRelations, S>;
    };
}, Error, {
    id: string;
    tableGrantPatch: TableGrantPatch;
}>;
