/**
 * 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, CreateViewTableInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { ViewTableSelect, ViewTableWithRelations, CreateViewTableInput, } from '../../orm/input-types';
/**
 * Junction table linking views to their joined tables for referential integrity
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateViewTableMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateViewTableMutation<S extends ViewTableSelect>(params: {
    selection: {
        fields: S & ViewTableSelect;
    } & HookStrictSelect<NoInfer<S>, ViewTableSelect>;
} & Omit<UseMutationOptions<{
    createViewTable: {
        viewTable: InferSelectResult<ViewTableWithRelations, S>;
    };
}, Error, CreateViewTableInput['viewTable']>, 'mutationFn'>): UseMutationResult<{
    createViewTable: {
        viewTable: InferSelectResult<ViewTableWithRelations, S>;
    };
}, Error, CreateViewTableInput['viewTable']>;
