/**
 * Per-database public-key crypto auth runtime configuration; typed replacement for api_modules pubkey_challenge 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 { PubkeySettingSelect, PubkeySettingWithRelations, PubkeySettingPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { PubkeySettingSelect, PubkeySettingWithRelations, PubkeySettingPatch, } from '../../orm/input-types';
/**
 * Per-database public-key crypto auth runtime configuration; typed replacement for api_modules pubkey_challenge JSONB entries
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdatePubkeySettingMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', pubkeySettingPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdatePubkeySettingMutation<S extends PubkeySettingSelect>(params: {
    selection: {
        fields: S & PubkeySettingSelect;
    } & HookStrictSelect<NoInfer<S>, PubkeySettingSelect>;
} & Omit<UseMutationOptions<{
    updatePubkeySetting: {
        pubkeySetting: InferSelectResult<PubkeySettingWithRelations, S>;
    };
}, Error, {
    id: string;
    pubkeySettingPatch: PubkeySettingPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updatePubkeySetting: {
        pubkeySetting: InferSelectResult<PubkeySettingWithRelations, S>;
    };
}, Error, {
    id: string;
    pubkeySettingPatch: PubkeySettingPatch;
}>;
