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