/**
 * Junction table linking views to their joined tables for referential integrity
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { ViewTableSelect, ViewTableWithRelations, ViewTablePatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { ViewTableSelect, ViewTableWithRelations, ViewTablePatch, } from '../../orm/input-types';
/**
 * Junction table linking views to their joined tables for referential integrity
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateViewTableMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', viewTablePatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateViewTableMutation<S extends ViewTableSelect>(params: {
    selection: {
        fields: S & ViewTableSelect;
    } & HookStrictSelect<NoInfer<S>, ViewTableSelect>;
} & Omit<UseMutationOptions<{
    updateViewTable: {
        viewTable: InferSelectResult<ViewTableWithRelations, S>;
    };
}, Error, {
    id: string;
    viewTablePatch: ViewTablePatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateViewTable: {
        viewTable: InferSelectResult<ViewTableWithRelations, S>;
    };
}, Error, {
    id: string;
    viewTablePatch: ViewTablePatch;
}>;
