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