/**
 * Create 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, CreateTableGrantInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { TableGrantSelect, TableGrantWithRelations, CreateTableGrantInput, } from '../../orm/input-types';
/**
 * Mutation hook for creating a TableGrant
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateTableGrantMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateTableGrantMutation<S extends TableGrantSelect>(params: {
    selection: {
        fields: S & TableGrantSelect;
    } & HookStrictSelect<NoInfer<S>, TableGrantSelect>;
} & Omit<UseMutationOptions<{
    createTableGrant: {
        tableGrant: InferSelectResult<TableGrantWithRelations, S>;
    };
}, Error, CreateTableGrantInput['tableGrant']>, 'mutationFn'>): UseMutationResult<{
    createTableGrant: {
        tableGrant: InferSelectResult<TableGrantWithRelations, S>;
    };
}, Error, CreateTableGrantInput['tableGrant']>;
