/**
 * Create mutation hook for User
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { UserSelect, UserWithRelations, CreateUserInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { UserSelect, UserWithRelations, CreateUserInput } from '../../orm/input-types';
/**
 * Mutation hook for creating a User
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateUserMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateUserMutation<S extends UserSelect>(params: {
    selection: {
        fields: S & UserSelect;
    } & HookStrictSelect<NoInfer<S>, UserSelect>;
} & Omit<UseMutationOptions<{
    createUser: {
        user: InferSelectResult<UserWithRelations, S>;
    };
}, Error, CreateUserInput['user']>, 'mutationFn'>): UseMutationResult<{
    createUser: {
        user: InferSelectResult<UserWithRelations, S>;
    };
}, Error, CreateUserInput['user']>;
