/**
 * Namespace model for ORM client
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import { OrmClient } from '../client';
import { QueryBuilder } from '../query-builder';
import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
import type { NamespaceWithRelations, NamespaceSelect, NamespaceFilter, NamespaceOrderBy, CreateNamespaceInput, NamespacePatch } from '../input-types';
export declare class NamespaceModel {
    private client;
    constructor(client: OrmClient);
    findMany<S extends NamespaceSelect>(args: FindManyArgs<S, NamespaceFilter, NamespaceOrderBy> & {
        select: S;
    } & StrictSelect<S, NamespaceSelect>): QueryBuilder<{
        namespaces: ConnectionResult<InferSelectResult<NamespaceWithRelations, S>>;
    }>;
    findFirst<S extends NamespaceSelect>(args: FindFirstArgs<S, NamespaceFilter, NamespaceOrderBy> & {
        select: S;
    } & StrictSelect<S, NamespaceSelect>): QueryBuilder<{
        namespace: InferSelectResult<NamespaceWithRelations, S> | null;
    }>;
    findOne<S extends NamespaceSelect>(args: {
        id: string;
        select: S;
    } & StrictSelect<S, NamespaceSelect>): QueryBuilder<{
        namespace: InferSelectResult<NamespaceWithRelations, S> | null;
    }>;
    create<S extends NamespaceSelect>(args: CreateArgs<S, CreateNamespaceInput['namespace']> & {
        select: S;
    } & StrictSelect<S, NamespaceSelect>): QueryBuilder<{
        createNamespace: {
            namespace: InferSelectResult<NamespaceWithRelations, S>;
        };
    }>;
    update<S extends NamespaceSelect>(args: UpdateArgs<S, {
        id: string;
    }, NamespacePatch> & {
        select: S;
    } & StrictSelect<S, NamespaceSelect>): QueryBuilder<{
        updateNamespace: {
            namespace: InferSelectResult<NamespaceWithRelations, S>;
        };
    }>;
    delete<S extends NamespaceSelect>(args: DeleteArgs<{
        id: string;
    }, S> & {
        select: S;
    } & StrictSelect<S, NamespaceSelect>): QueryBuilder<{
        deleteNamespace: {
            namespace: InferSelectResult<NamespaceWithRelations, S>;
        };
    }>;
}
