/**
 * 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, CreateDatabaseSettingInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { DatabaseSettingSelect, DatabaseSettingWithRelations, CreateDatabaseSettingInput, } 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 } = useCreateDatabaseSettingMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateDatabaseSettingMutation<S extends DatabaseSettingSelect>(params: {
    selection: {
        fields: S & DatabaseSettingSelect;
    } & HookStrictSelect<NoInfer<S>, DatabaseSettingSelect>;
} & Omit<UseMutationOptions<{
    createDatabaseSetting: {
        databaseSetting: InferSelectResult<DatabaseSettingWithRelations, S>;
    };
}, Error, CreateDatabaseSettingInput['databaseSetting']>, 'mutationFn'>): UseMutationResult<{
    createDatabaseSetting: {
        databaseSetting: InferSelectResult<DatabaseSettingWithRelations, S>;
    };
}, Error, CreateDatabaseSettingInput['databaseSetting']>;
