/**
 * InfraObject 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 { InfraObjectWithRelations, InfraObjectSelect, InfraObjectFilter, InfraObjectOrderBy, CreateInfraObjectInput, InfraObjectPatch } from '../input-types';
export declare class InfraObjectModel {
    private client;
    constructor(client: OrmClient);
    findMany<S extends InfraObjectSelect>(args: FindManyArgs<S, InfraObjectFilter, InfraObjectOrderBy> & {
        select: S;
    } & StrictSelect<S, InfraObjectSelect>): QueryBuilder<{
        infraObjects: ConnectionResult<InferSelectResult<InfraObjectWithRelations, S>>;
    }>;
    findFirst<S extends InfraObjectSelect>(args: FindFirstArgs<S, InfraObjectFilter, InfraObjectOrderBy> & {
        select: S;
    } & StrictSelect<S, InfraObjectSelect>): QueryBuilder<{
        infraObject: InferSelectResult<InfraObjectWithRelations, S> | null;
    }>;
    findOne<S extends InfraObjectSelect>(args: {
        id: string;
        select: S;
    } & StrictSelect<S, InfraObjectSelect>): QueryBuilder<{
        infraObject: InferSelectResult<InfraObjectWithRelations, S> | null;
    }>;
    create<S extends InfraObjectSelect>(args: CreateArgs<S, CreateInfraObjectInput['infraObject']> & {
        select: S;
    } & StrictSelect<S, InfraObjectSelect>): QueryBuilder<{
        createInfraObject: {
            infraObject: InferSelectResult<InfraObjectWithRelations, S>;
        };
    }>;
    update<S extends InfraObjectSelect>(args: UpdateArgs<S, {
        id: string;
        scopeId: string;
    }, InfraObjectPatch> & {
        select: S;
    } & StrictSelect<S, InfraObjectSelect>): QueryBuilder<{
        updateInfraObject: {
            infraObject: InferSelectResult<InfraObjectWithRelations, S>;
        };
    }>;
    delete<S extends InfraObjectSelect>(args: DeleteArgs<{
        id: string;
        scopeId: string;
    }, S> & {
        select: S;
    } & StrictSelect<S, InfraObjectSelect>): QueryBuilder<{
        deleteInfraObject: {
            infraObject: InferSelectResult<InfraObjectWithRelations, S>;
        };
    }>;
}
