/**
 * Database-wide feature flags and settings; controls which platform features are available to all APIs in this database
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { DatabaseSettingSelect, DatabaseSettingWithRelations, DatabaseSettingPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { DatabaseSettingSelect, DatabaseSettingWithRelations, DatabaseSettingPatch, } from '../../orm/input-types';
/**
 * Database-wide feature flags and settings; controls which platform features are available to all APIs in this database
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateDatabaseSettingMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', databaseSettingPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateDatabaseSettingMutation<S extends DatabaseSettingSelect>(params: {
    selection: {
        fields: S & DatabaseSettingSelect;
    } & HookStrictSelect<NoInfer<S>, DatabaseSettingSelect>;
} & Omit<UseMutationOptions<{
    updateDatabaseSetting: {
        databaseSetting: InferSelectResult<DatabaseSettingWithRelations, S>;
    };
}, Error, {
    id: string;
    databaseSettingPatch: DatabaseSettingPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateDatabaseSetting: {
        databaseSetting: InferSelectResult<DatabaseSettingWithRelations, S>;
    };
}, Error, {
    id: string;
    databaseSettingPatch: DatabaseSettingPatch;
}>;
