/**
 * Per-database RLS module runtime configuration; typed replacement for api_modules rls_module JSONB entries
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { RlsSettingSelect, RlsSettingWithRelations, RlsSettingPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { RlsSettingSelect, RlsSettingWithRelations, RlsSettingPatch, } from '../../orm/input-types';
/**
 * Per-database RLS module runtime configuration; typed replacement for api_modules rls_module JSONB entries
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateRlsSettingMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', rlsSettingPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateRlsSettingMutation<S extends RlsSettingSelect>(params: {
    selection: {
        fields: S & RlsSettingSelect;
    } & HookStrictSelect<NoInfer<S>, RlsSettingSelect>;
} & Omit<UseMutationOptions<{
    updateRlsSetting: {
        rlsSetting: InferSelectResult<RlsSettingWithRelations, S>;
    };
}, Error, {
    id: string;
    rlsSettingPatch: RlsSettingPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateRlsSetting: {
        rlsSetting: InferSelectResult<RlsSettingWithRelations, S>;
    };
}, Error, {
    id: string;
    rlsSettingPatch: RlsSettingPatch;
}>;
