/**
 * Per-API feature flag overrides; NULL columns inherit from database_settings, explicit true/false overrides the database default
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { ApiSettingSelect, ApiSettingWithRelations, ApiSettingPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { ApiSettingSelect, ApiSettingWithRelations, ApiSettingPatch, } from '../../orm/input-types';
/**
 * Per-API feature flag overrides; NULL columns inherit from database_settings, explicit true/false overrides the database default
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateApiSettingMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', apiSettingPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateApiSettingMutation<S extends ApiSettingSelect>(params: {
    selection: {
        fields: S & ApiSettingSelect;
    } & HookStrictSelect<NoInfer<S>, ApiSettingSelect>;
} & Omit<UseMutationOptions<{
    updateApiSetting: {
        apiSetting: InferSelectResult<ApiSettingWithRelations, S>;
    };
}, Error, {
    id: string;
    apiSettingPatch: ApiSettingPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateApiSetting: {
        apiSetting: InferSelectResult<ApiSettingWithRelations, S>;
    };
}, Error, {
    id: string;
    apiSettingPatch: ApiSettingPatch;
}>;
