/**
 * AppAdminGrant 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 { AppAdminGrantWithRelations, AppAdminGrantSelect, AppAdminGrantFilter, AppAdminGrantOrderBy, CreateAppAdminGrantInput, AppAdminGrantPatch } from '../input-types';
export declare class AppAdminGrantModel {
    private client;
    constructor(client: OrmClient);
    findMany<S extends AppAdminGrantSelect>(args: FindManyArgs<S, AppAdminGrantFilter, AppAdminGrantOrderBy> & {
        select: S;
    } & StrictSelect<S, AppAdminGrantSelect>): QueryBuilder<{
        appAdminGrants: ConnectionResult<InferSelectResult<AppAdminGrantWithRelations, S>>;
    }>;
    findFirst<S extends AppAdminGrantSelect>(args: FindFirstArgs<S, AppAdminGrantFilter, AppAdminGrantOrderBy> & {
        select: S;
    } & StrictSelect<S, AppAdminGrantSelect>): QueryBuilder<{
        appAdminGrant: InferSelectResult<AppAdminGrantWithRelations, S> | null;
    }>;
    findOne<S extends AppAdminGrantSelect>(args: {
        id: string;
        select: S;
    } & StrictSelect<S, AppAdminGrantSelect>): QueryBuilder<{
        appAdminGrant: InferSelectResult<AppAdminGrantWithRelations, S> | null;
    }>;
    create<S extends AppAdminGrantSelect>(args: CreateArgs<S, CreateAppAdminGrantInput['appAdminGrant']> & {
        select: S;
    } & StrictSelect<S, AppAdminGrantSelect>): QueryBuilder<{
        createAppAdminGrant: {
            appAdminGrant: InferSelectResult<AppAdminGrantWithRelations, S>;
        };
    }>;
    update<S extends AppAdminGrantSelect>(args: UpdateArgs<S, {
        id: string;
    }, AppAdminGrantPatch> & {
        select: S;
    } & StrictSelect<S, AppAdminGrantSelect>): QueryBuilder<{
        updateAppAdminGrant: {
            appAdminGrant: InferSelectResult<AppAdminGrantWithRelations, S>;
        };
    }>;
    delete<S extends AppAdminGrantSelect>(args: DeleteArgs<{
        id: string;
    }, S> & {
        select: S;
    } & StrictSelect<S, AppAdminGrantSelect>): QueryBuilder<{
        deleteAppAdminGrant: {
            appAdminGrant: InferSelectResult<AppAdminGrantWithRelations, S>;
        };
    }>;
}
