/**
 * Update mutation hook for PermissionsModule
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { PermissionsModuleSelect, PermissionsModuleWithRelations, PermissionsModulePatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { PermissionsModuleSelect, PermissionsModuleWithRelations, PermissionsModulePatch, } from '../../orm/input-types';
/**
 * Mutation hook for updating a PermissionsModule
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdatePermissionsModuleMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', permissionsModulePatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdatePermissionsModuleMutation<S extends PermissionsModuleSelect>(params: {
    selection: {
        fields: S & PermissionsModuleSelect;
    } & HookStrictSelect<NoInfer<S>, PermissionsModuleSelect>;
} & Omit<UseMutationOptions<{
    updatePermissionsModule: {
        permissionsModule: InferSelectResult<PermissionsModuleWithRelations, S>;
    };
}, Error, {
    id: string;
    permissionsModulePatch: PermissionsModulePatch;
}>, 'mutationFn'>): UseMutationResult<{
    updatePermissionsModule: {
        permissionsModule: InferSelectResult<PermissionsModuleWithRelations, S>;
    };
}, Error, {
    id: string;
    permissionsModulePatch: PermissionsModulePatch;
}>;
