/**
 * ViewGrant 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 { ViewGrantWithRelations, ViewGrantSelect, ViewGrantFilter, ViewGrantOrderBy, CreateViewGrantInput, ViewGrantPatch } from '../input-types';
export declare class ViewGrantModel {
    private client;
    constructor(client: OrmClient);
    findMany<S extends ViewGrantSelect>(args: FindManyArgs<S, ViewGrantFilter, ViewGrantOrderBy> & {
        select: S;
    } & StrictSelect<S, ViewGrantSelect>): QueryBuilder<{
        viewGrants: ConnectionResult<InferSelectResult<ViewGrantWithRelations, S>>;
    }>;
    findFirst<S extends ViewGrantSelect>(args: FindFirstArgs<S, ViewGrantFilter, ViewGrantOrderBy> & {
        select: S;
    } & StrictSelect<S, ViewGrantSelect>): QueryBuilder<{
        viewGrant: InferSelectResult<ViewGrantWithRelations, S> | null;
    }>;
    findOne<S extends ViewGrantSelect>(args: {
        id: string;
        select: S;
    } & StrictSelect<S, ViewGrantSelect>): QueryBuilder<{
        viewGrant: InferSelectResult<ViewGrantWithRelations, S> | null;
    }>;
    create<S extends ViewGrantSelect>(args: CreateArgs<S, CreateViewGrantInput['viewGrant']> & {
        select: S;
    } & StrictSelect<S, ViewGrantSelect>): QueryBuilder<{
        createViewGrant: {
            viewGrant: InferSelectResult<ViewGrantWithRelations, S>;
        };
    }>;
    update<S extends ViewGrantSelect>(args: UpdateArgs<S, {
        id: string;
    }, ViewGrantPatch> & {
        select: S;
    } & StrictSelect<S, ViewGrantSelect>): QueryBuilder<{
        updateViewGrant: {
            viewGrant: InferSelectResult<ViewGrantWithRelations, S>;
        };
    }>;
    delete<S extends ViewGrantSelect>(args: DeleteArgs<{
        id: string;
    }, S> & {
        select: S;
    } & StrictSelect<S, ViewGrantSelect>): QueryBuilder<{
        deleteViewGrant: {
            viewGrant: InferSelectResult<ViewGrantWithRelations, S>;
        };
    }>;
}
