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