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