/**
 * Namespace-backed plaintext key-value config store (like a k8s ConfigMap); admin-only, fully CRUD-exposed
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { ConfigSelect, ConfigWithRelations, ConfigPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { ConfigSelect, ConfigWithRelations, ConfigPatch } from '../../orm/input-types';
/**
 * Namespace-backed plaintext key-value config store (like a k8s ConfigMap); admin-only, fully CRUD-exposed
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateConfigMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', configPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateConfigMutation<S extends ConfigSelect>(params: {
    selection: {
        fields: S & ConfigSelect;
    } & HookStrictSelect<NoInfer<S>, ConfigSelect>;
} & Omit<UseMutationOptions<{
    updateConfig: {
        config: InferSelectResult<ConfigWithRelations, S>;
    };
}, Error, {
    id: string;
    configPatch: ConfigPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateConfig: {
        config: InferSelectResult<ConfigWithRelations, S>;
    };
}, Error, {
    id: string;
    configPatch: ConfigPatch;
}>;
