/**
 * OrgGrant 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 { OrgGrantWithRelations, OrgGrantSelect, OrgGrantFilter, OrgGrantOrderBy, CreateOrgGrantInput, OrgGrantPatch } from '../input-types';
export declare class OrgGrantModel {
    private client;
    constructor(client: OrmClient);
    findMany<S extends OrgGrantSelect>(args: FindManyArgs<S, OrgGrantFilter, OrgGrantOrderBy> & {
        select: S;
    } & StrictSelect<S, OrgGrantSelect>): QueryBuilder<{
        orgGrants: ConnectionResult<InferSelectResult<OrgGrantWithRelations, S>>;
    }>;
    findFirst<S extends OrgGrantSelect>(args: FindFirstArgs<S, OrgGrantFilter> & {
        select: S;
    } & StrictSelect<S, OrgGrantSelect>): QueryBuilder<{
        orgGrants: {
            nodes: InferSelectResult<OrgGrantWithRelations, S>[];
        };
    }>;
    findOne<S extends OrgGrantSelect>(args: {
        id: string;
        select: S;
    } & StrictSelect<S, OrgGrantSelect>): QueryBuilder<{
        orgGrant: InferSelectResult<OrgGrantWithRelations, S> | null;
    }>;
    create<S extends OrgGrantSelect>(args: CreateArgs<S, CreateOrgGrantInput['orgGrant']> & {
        select: S;
    } & StrictSelect<S, OrgGrantSelect>): QueryBuilder<{
        createOrgGrant: {
            orgGrant: InferSelectResult<OrgGrantWithRelations, S>;
        };
    }>;
    update<S extends OrgGrantSelect>(args: UpdateArgs<S, {
        id: string;
    }, OrgGrantPatch> & {
        select: S;
    } & StrictSelect<S, OrgGrantSelect>): QueryBuilder<{
        updateOrgGrant: {
            orgGrant: InferSelectResult<OrgGrantWithRelations, S>;
        };
    }>;
    delete<S extends OrgGrantSelect>(args: DeleteArgs<{
        id: string;
    }, S> & {
        select: S;
    } & StrictSelect<S, OrgGrantSelect>): QueryBuilder<{
        deleteOrgGrant: {
            orgGrant: InferSelectResult<OrgGrantWithRelations, S>;
        };
    }>;
}
