/**
 * AppOwnerGrant 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 { AppOwnerGrantWithRelations, AppOwnerGrantSelect, AppOwnerGrantFilter, AppOwnerGrantOrderBy, CreateAppOwnerGrantInput, AppOwnerGrantPatch } from '../input-types';
export declare class AppOwnerGrantModel {
    private client;
    constructor(client: OrmClient);
    findMany<S extends AppOwnerGrantSelect>(args: FindManyArgs<S, AppOwnerGrantFilter, AppOwnerGrantOrderBy> & {
        select: S;
    } & StrictSelect<S, AppOwnerGrantSelect>): QueryBuilder<{
        appOwnerGrants: ConnectionResult<InferSelectResult<AppOwnerGrantWithRelations, S>>;
    }>;
    findFirst<S extends AppOwnerGrantSelect>(args: FindFirstArgs<S, AppOwnerGrantFilter> & {
        select: S;
    } & StrictSelect<S, AppOwnerGrantSelect>): QueryBuilder<{
        appOwnerGrants: {
            nodes: InferSelectResult<AppOwnerGrantWithRelations, S>[];
        };
    }>;
    findOne<S extends AppOwnerGrantSelect>(args: {
        id: string;
        select: S;
    } & StrictSelect<S, AppOwnerGrantSelect>): QueryBuilder<{
        appOwnerGrant: InferSelectResult<AppOwnerGrantWithRelations, S> | null;
    }>;
    create<S extends AppOwnerGrantSelect>(args: CreateArgs<S, CreateAppOwnerGrantInput['appOwnerGrant']> & {
        select: S;
    } & StrictSelect<S, AppOwnerGrantSelect>): QueryBuilder<{
        createAppOwnerGrant: {
            appOwnerGrant: InferSelectResult<AppOwnerGrantWithRelations, S>;
        };
    }>;
    update<S extends AppOwnerGrantSelect>(args: UpdateArgs<S, {
        id: string;
    }, AppOwnerGrantPatch> & {
        select: S;
    } & StrictSelect<S, AppOwnerGrantSelect>): QueryBuilder<{
        updateAppOwnerGrant: {
            appOwnerGrant: InferSelectResult<AppOwnerGrantWithRelations, S>;
        };
    }>;
    delete<S extends AppOwnerGrantSelect>(args: DeleteArgs<{
        id: string;
    }, S> & {
        select: S;
    } & StrictSelect<S, AppOwnerGrantSelect>): QueryBuilder<{
        deleteAppOwnerGrant: {
            appOwnerGrant: InferSelectResult<AppOwnerGrantWithRelations, S>;
        };
    }>;
}
