/**
 * 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, CreateNamespaceInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { NamespaceSelect, NamespaceWithRelations, CreateNamespaceInput, } from '../../orm/input-types';
/**
 * Logical namespace containers for grouping secrets, config, functions, and other resources
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateNamespaceMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateNamespaceMutation<S extends NamespaceSelect>(params: {
    selection: {
        fields: S & NamespaceSelect;
    } & HookStrictSelect<NoInfer<S>, NamespaceSelect>;
} & Omit<UseMutationOptions<{
    createNamespace: {
        namespace: InferSelectResult<NamespaceWithRelations, S>;
    };
}, Error, CreateNamespaceInput['namespace']>, 'mutationFn'>): UseMutationResult<{
    createNamespace: {
        namespace: InferSelectResult<NamespaceWithRelations, S>;
    };
}, Error, CreateNamespaceInput['namespace']>;
