/**
 * Domain 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 { DomainWithRelations, DomainSelect, DomainFilter, DomainOrderBy, CreateDomainInput, DomainPatch } from '../input-types';
export declare class DomainModel {
    private client;
    constructor(client: OrmClient);
    findMany<S extends DomainSelect>(args: FindManyArgs<S, DomainFilter, DomainOrderBy> & {
        select: S;
    } & StrictSelect<S, DomainSelect>): QueryBuilder<{
        domains: ConnectionResult<InferSelectResult<DomainWithRelations, S>>;
    }>;
    findFirst<S extends DomainSelect>(args: FindFirstArgs<S, DomainFilter> & {
        select: S;
    } & StrictSelect<S, DomainSelect>): QueryBuilder<{
        domains: {
            nodes: InferSelectResult<DomainWithRelations, S>[];
        };
    }>;
    findOne<S extends DomainSelect>(args: {
        id: string;
        select: S;
    } & StrictSelect<S, DomainSelect>): QueryBuilder<{
        domain: InferSelectResult<DomainWithRelations, S> | null;
    }>;
    create<S extends DomainSelect>(args: CreateArgs<S, CreateDomainInput['domain']> & {
        select: S;
    } & StrictSelect<S, DomainSelect>): QueryBuilder<{
        createDomain: {
            domain: InferSelectResult<DomainWithRelations, S>;
        };
    }>;
    update<S extends DomainSelect>(args: UpdateArgs<S, {
        id: string;
    }, DomainPatch> & {
        select: S;
    } & StrictSelect<S, DomainSelect>): QueryBuilder<{
        updateDomain: {
            domain: InferSelectResult<DomainWithRelations, S>;
        };
    }>;
    delete<S extends DomainSelect>(args: DeleteArgs<{
        id: string;
    }, S> & {
        select: S;
    } & StrictSelect<S, DomainSelect>): QueryBuilder<{
        deleteDomain: {
            domain: InferSelectResult<DomainWithRelations, S>;
        };
    }>;
}
