/**
 * Principal 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, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
import type { PrincipalWithRelations, PrincipalSelect, PrincipalFilter, PrincipalOrderBy, CreatePrincipalInput } from '../input-types';
export declare class PrincipalModel {
    private client;
    constructor(client: OrmClient);
    findMany<S extends PrincipalSelect>(args: FindManyArgs<S, PrincipalFilter, PrincipalOrderBy> & {
        select: S;
    } & StrictSelect<S, PrincipalSelect>): QueryBuilder<{
        principals: ConnectionResult<InferSelectResult<PrincipalWithRelations, S>>;
    }>;
    findFirst<S extends PrincipalSelect>(args: FindFirstArgs<S, PrincipalFilter, PrincipalOrderBy> & {
        select: S;
    } & StrictSelect<S, PrincipalSelect>): QueryBuilder<{
        principal: InferSelectResult<PrincipalWithRelations, S> | null;
    }>;
    findOne<S extends PrincipalSelect>(args: {
        principalId: string;
        select: S;
    } & StrictSelect<S, PrincipalSelect>): QueryBuilder<{
        principal: InferSelectResult<PrincipalWithRelations, S> | null;
    }>;
    create<S extends PrincipalSelect>(args: CreateArgs<S, CreatePrincipalInput['principal']> & {
        select: S;
    } & StrictSelect<S, PrincipalSelect>): QueryBuilder<{
        createPrincipal: {
            principal: InferSelectResult<PrincipalWithRelations, S>;
        };
    }>;
    delete<S extends PrincipalSelect>(args: DeleteArgs<{
        principalId: string;
    }, S> & {
        select: S;
    } & StrictSelect<S, PrincipalSelect>): QueryBuilder<{
        deletePrincipal: {
            principal: InferSelectResult<PrincipalWithRelations, S>;
        };
    }>;
}
