/**
 * AppGrant 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 { AppGrantWithRelations, AppGrantSelect, AppGrantFilter, AppGrantOrderBy, CreateAppGrantInput, AppGrantPatch } from '../input-types';
export declare class AppGrantModel {
    private client;
    constructor(client: OrmClient);
    findMany<S extends AppGrantSelect>(args: FindManyArgs<S, AppGrantFilter, AppGrantOrderBy> & {
        select: S;
    } & StrictSelect<S, AppGrantSelect>): QueryBuilder<{
        appGrants: ConnectionResult<InferSelectResult<AppGrantWithRelations, S>>;
    }>;
    findFirst<S extends AppGrantSelect>(args: FindFirstArgs<S, AppGrantFilter> & {
        select: S;
    } & StrictSelect<S, AppGrantSelect>): QueryBuilder<{
        appGrants: {
            nodes: InferSelectResult<AppGrantWithRelations, S>[];
        };
    }>;
    findOne<S extends AppGrantSelect>(args: {
        id: string;
        select: S;
    } & StrictSelect<S, AppGrantSelect>): QueryBuilder<{
        appGrant: InferSelectResult<AppGrantWithRelations, S> | null;
    }>;
    create<S extends AppGrantSelect>(args: CreateArgs<S, CreateAppGrantInput['appGrant']> & {
        select: S;
    } & StrictSelect<S, AppGrantSelect>): QueryBuilder<{
        createAppGrant: {
            appGrant: InferSelectResult<AppGrantWithRelations, S>;
        };
    }>;
    update<S extends AppGrantSelect>(args: UpdateArgs<S, {
        id: string;
    }, AppGrantPatch> & {
        select: S;
    } & StrictSelect<S, AppGrantSelect>): QueryBuilder<{
        updateAppGrant: {
            appGrant: InferSelectResult<AppGrantWithRelations, S>;
        };
    }>;
    delete<S extends AppGrantSelect>(args: DeleteArgs<{
        id: string;
    }, S> & {
        select: S;
    } & StrictSelect<S, AppGrantSelect>): QueryBuilder<{
        deleteAppGrant: {
            appGrant: InferSelectResult<AppGrantWithRelations, S>;
        };
    }>;
}
