/**
 * PrincipalEntity 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 { PrincipalEntityWithRelations, PrincipalEntitySelect, PrincipalEntityFilter, PrincipalEntityOrderBy, CreatePrincipalEntityInput, PrincipalEntityPatch } from '../input-types';
export declare class PrincipalEntityModel {
    private client;
    constructor(client: OrmClient);
    findMany<S extends PrincipalEntitySelect>(args: FindManyArgs<S, PrincipalEntityFilter, PrincipalEntityOrderBy> & {
        select: S;
    } & StrictSelect<S, PrincipalEntitySelect>): QueryBuilder<{
        principalEntities: ConnectionResult<InferSelectResult<PrincipalEntityWithRelations, S>>;
    }>;
    findFirst<S extends PrincipalEntitySelect>(args: FindFirstArgs<S, PrincipalEntityFilter, PrincipalEntityOrderBy> & {
        select: S;
    } & StrictSelect<S, PrincipalEntitySelect>): QueryBuilder<{
        principalEntity: InferSelectResult<PrincipalEntityWithRelations, S> | null;
    }>;
    findOne<S extends PrincipalEntitySelect>(args: {
        id: string;
        select: S;
    } & StrictSelect<S, PrincipalEntitySelect>): QueryBuilder<{
        principalEntity: InferSelectResult<PrincipalEntityWithRelations, S> | null;
    }>;
    create<S extends PrincipalEntitySelect>(args: CreateArgs<S, CreatePrincipalEntityInput['principalEntity']> & {
        select: S;
    } & StrictSelect<S, PrincipalEntitySelect>): QueryBuilder<{
        createPrincipalEntity: {
            principalEntity: InferSelectResult<PrincipalEntityWithRelations, S>;
        };
    }>;
    update<S extends PrincipalEntitySelect>(args: UpdateArgs<S, {
        id: string;
    }, PrincipalEntityPatch> & {
        select: S;
    } & StrictSelect<S, PrincipalEntitySelect>): QueryBuilder<{
        updatePrincipalEntity: {
            principalEntity: InferSelectResult<PrincipalEntityWithRelations, S>;
        };
    }>;
    delete<S extends PrincipalEntitySelect>(args: DeleteArgs<{
        id: string;
    }, S> & {
        select: S;
    } & StrictSelect<S, PrincipalEntitySelect>): QueryBuilder<{
        deletePrincipalEntity: {
            principalEntity: InferSelectResult<PrincipalEntityWithRelations, S>;
        };
    }>;
}
