/**
 * 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 { PlatformConfigSelect, PlatformConfigWithRelations, PlatformConfigPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { PlatformConfigSelect, PlatformConfigWithRelations, PlatformConfigPatch, } 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 } = useUpdatePlatformConfigMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', platformConfigPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdatePlatformConfigMutation<S extends PlatformConfigSelect>(params: {
    selection: {
        fields: S & PlatformConfigSelect;
    } & HookStrictSelect<NoInfer<S>, PlatformConfigSelect>;
} & Omit<UseMutationOptions<{
    updatePlatformConfig: {
        platformConfig: InferSelectResult<PlatformConfigWithRelations, S>;
    };
}, Error, {
    id: string;
    platformConfigPatch: PlatformConfigPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updatePlatformConfig: {
        platformConfig: InferSelectResult<PlatformConfigWithRelations, S>;
    };
}, Error, {
    id: string;
    platformConfigPatch: PlatformConfigPatch;
}>;
