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