/**
 * InfraRef 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 { InfraRefWithRelations, InfraRefSelect, InfraRefFilter, InfraRefOrderBy, CreateInfraRefInput, InfraRefPatch } from '../input-types';
export declare class InfraRefModel {
    private client;
    constructor(client: OrmClient);
    findMany<S extends InfraRefSelect>(args: FindManyArgs<S, InfraRefFilter, InfraRefOrderBy> & {
        select: S;
    } & StrictSelect<S, InfraRefSelect>): QueryBuilder<{
        infraRefs: ConnectionResult<InferSelectResult<InfraRefWithRelations, S>>;
    }>;
    findFirst<S extends InfraRefSelect>(args: FindFirstArgs<S, InfraRefFilter, InfraRefOrderBy> & {
        select: S;
    } & StrictSelect<S, InfraRefSelect>): QueryBuilder<{
        infraRef: InferSelectResult<InfraRefWithRelations, S> | null;
    }>;
    findOne<S extends InfraRefSelect>(args: {
        id: string;
        select: S;
    } & StrictSelect<S, InfraRefSelect>): QueryBuilder<{
        infraRef: InferSelectResult<InfraRefWithRelations, S> | null;
    }>;
    create<S extends InfraRefSelect>(args: CreateArgs<S, CreateInfraRefInput['infraRef']> & {
        select: S;
    } & StrictSelect<S, InfraRefSelect>): QueryBuilder<{
        createInfraRef: {
            infraRef: InferSelectResult<InfraRefWithRelations, S>;
        };
    }>;
    update<S extends InfraRefSelect>(args: UpdateArgs<S, {
        id: string;
        scopeId: string;
    }, InfraRefPatch> & {
        select: S;
    } & StrictSelect<S, InfraRefSelect>): QueryBuilder<{
        updateInfraRef: {
            infraRef: InferSelectResult<InfraRefWithRelations, S>;
        };
    }>;
    delete<S extends InfraRefSelect>(args: DeleteArgs<{
        id: string;
        scopeId: string;
    }, S> & {
        select: S;
    } & StrictSelect<S, InfraRefSelect>): QueryBuilder<{
        deleteInfraRef: {
            infraRef: InferSelectResult<InfraRefWithRelations, S>;
        };
    }>;
}
