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