/**
 * Logical namespace containers for grouping secrets, config, functions, and other resources
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { NamespaceSelect, NamespaceWithRelations, NamespacePatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { NamespaceSelect, NamespaceWithRelations, NamespacePatch, } from '../../orm/input-types';
/**
 * Logical namespace containers for grouping secrets, config, functions, and other resources
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateNamespaceMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', namespacePatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateNamespaceMutation<S extends NamespaceSelect>(params: {
    selection: {
        fields: S & NamespaceSelect;
    } & HookStrictSelect<NoInfer<S>, NamespaceSelect>;
} & Omit<UseMutationOptions<{
    updateNamespace: {
        namespace: InferSelectResult<NamespaceWithRelations, S>;
    };
}, Error, {
    id: string;
    namespacePatch: NamespacePatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateNamespace: {
        namespace: InferSelectResult<NamespaceWithRelations, S>;
    };
}, Error, {
    id: string;
    namespacePatch: NamespacePatch;
}>;
