/**
 * Update 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, SessionsModulePatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { SessionsModuleSelect, SessionsModuleWithRelations, SessionsModulePatch, } from '../../orm/input-types';
/**
 * Mutation hook for updating a SessionsModule
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateSessionsModuleMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', sessionsModulePatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateSessionsModuleMutation<S extends SessionsModuleSelect>(params: {
    selection: {
        fields: S & SessionsModuleSelect;
    } & HookStrictSelect<NoInfer<S>, SessionsModuleSelect>;
} & Omit<UseMutationOptions<{
    updateSessionsModule: {
        sessionsModule: InferSelectResult<SessionsModuleWithRelations, S>;
    };
}, Error, {
    id: string;
    sessionsModulePatch: SessionsModulePatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateSessionsModule: {
        sessionsModule: InferSelectResult<SessionsModuleWithRelations, S>;
    };
}, Error, {
    id: string;
    sessionsModulePatch: SessionsModulePatch;
}>;
