/**
 * OrgPermission 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 { OrgPermissionWithRelations, OrgPermissionSelect, OrgPermissionFilter, OrgPermissionOrderBy, CreateOrgPermissionInput, OrgPermissionPatch } from '../input-types';
export declare class OrgPermissionModel {
    private client;
    constructor(client: OrmClient);
    findMany<S extends OrgPermissionSelect>(args: FindManyArgs<S, OrgPermissionFilter, OrgPermissionOrderBy> & {
        select: S;
    } & StrictSelect<S, OrgPermissionSelect>): QueryBuilder<{
        orgPermissions: ConnectionResult<InferSelectResult<OrgPermissionWithRelations, S>>;
    }>;
    findFirst<S extends OrgPermissionSelect>(args: FindFirstArgs<S, OrgPermissionFilter, OrgPermissionOrderBy> & {
        select: S;
    } & StrictSelect<S, OrgPermissionSelect>): QueryBuilder<{
        orgPermission: InferSelectResult<OrgPermissionWithRelations, S> | null;
    }>;
    findOne<S extends OrgPermissionSelect>(args: {
        id: string;
        select: S;
    } & StrictSelect<S, OrgPermissionSelect>): QueryBuilder<{
        orgPermission: InferSelectResult<OrgPermissionWithRelations, S> | null;
    }>;
    create<S extends OrgPermissionSelect>(args: CreateArgs<S, CreateOrgPermissionInput['orgPermission']> & {
        select: S;
    } & StrictSelect<S, OrgPermissionSelect>): QueryBuilder<{
        createOrgPermission: {
            orgPermission: InferSelectResult<OrgPermissionWithRelations, S>;
        };
    }>;
    update<S extends OrgPermissionSelect>(args: UpdateArgs<S, {
        id: string;
    }, OrgPermissionPatch> & {
        select: S;
    } & StrictSelect<S, OrgPermissionSelect>): QueryBuilder<{
        updateOrgPermission: {
            orgPermission: InferSelectResult<OrgPermissionWithRelations, S>;
        };
    }>;
    delete<S extends OrgPermissionSelect>(args: DeleteArgs<{
        id: string;
    }, S> & {
        select: S;
    } & StrictSelect<S, OrgPermissionSelect>): QueryBuilder<{
        deleteOrgPermission: {
            orgPermission: InferSelectResult<OrgPermissionWithRelations, S>;
        };
    }>;
}
