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