/**
 * OrgOwnerGrant 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 { OrgOwnerGrantWithRelations, OrgOwnerGrantSelect, OrgOwnerGrantFilter, OrgOwnerGrantOrderBy, CreateOrgOwnerGrantInput, OrgOwnerGrantPatch } from '../input-types';
export declare class OrgOwnerGrantModel {
    private client;
    constructor(client: OrmClient);
    findMany<S extends OrgOwnerGrantSelect>(args: FindManyArgs<S, OrgOwnerGrantFilter, OrgOwnerGrantOrderBy> & {
        select: S;
    } & StrictSelect<S, OrgOwnerGrantSelect>): QueryBuilder<{
        orgOwnerGrants: ConnectionResult<InferSelectResult<OrgOwnerGrantWithRelations, S>>;
    }>;
    findFirst<S extends OrgOwnerGrantSelect>(args: FindFirstArgs<S, OrgOwnerGrantFilter> & {
        select: S;
    } & StrictSelect<S, OrgOwnerGrantSelect>): QueryBuilder<{
        orgOwnerGrants: {
            nodes: InferSelectResult<OrgOwnerGrantWithRelations, S>[];
        };
    }>;
    findOne<S extends OrgOwnerGrantSelect>(args: {
        id: string;
        select: S;
    } & StrictSelect<S, OrgOwnerGrantSelect>): QueryBuilder<{
        orgOwnerGrant: InferSelectResult<OrgOwnerGrantWithRelations, S> | null;
    }>;
    create<S extends OrgOwnerGrantSelect>(args: CreateArgs<S, CreateOrgOwnerGrantInput['orgOwnerGrant']> & {
        select: S;
    } & StrictSelect<S, OrgOwnerGrantSelect>): QueryBuilder<{
        createOrgOwnerGrant: {
            orgOwnerGrant: InferSelectResult<OrgOwnerGrantWithRelations, S>;
        };
    }>;
    update<S extends OrgOwnerGrantSelect>(args: UpdateArgs<S, {
        id: string;
    }, OrgOwnerGrantPatch> & {
        select: S;
    } & StrictSelect<S, OrgOwnerGrantSelect>): QueryBuilder<{
        updateOrgOwnerGrant: {
            orgOwnerGrant: InferSelectResult<OrgOwnerGrantWithRelations, S>;
        };
    }>;
    delete<S extends OrgOwnerGrantSelect>(args: DeleteArgs<{
        id: string;
    }, S> & {
        select: S;
    } & StrictSelect<S, OrgOwnerGrantSelect>): QueryBuilder<{
        deleteOrgOwnerGrant: {
            orgOwnerGrant: InferSelectResult<OrgOwnerGrantWithRelations, S>;
        };
    }>;
}
