/**
 * View 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 { ViewWithRelations, ViewSelect, ViewFilter, ViewOrderBy, CreateViewInput, ViewPatch } from '../input-types';
export declare class ViewModel {
    private client;
    constructor(client: OrmClient);
    findMany<S extends ViewSelect>(args: FindManyArgs<S, ViewFilter, ViewOrderBy> & {
        select: S;
    } & StrictSelect<S, ViewSelect>): QueryBuilder<{
        views: ConnectionResult<InferSelectResult<ViewWithRelations, S>>;
    }>;
    findFirst<S extends ViewSelect>(args: FindFirstArgs<S, ViewFilter> & {
        select: S;
    } & StrictSelect<S, ViewSelect>): QueryBuilder<{
        views: {
            nodes: InferSelectResult<ViewWithRelations, S>[];
        };
    }>;
    findOne<S extends ViewSelect>(args: {
        id: string;
        select: S;
    } & StrictSelect<S, ViewSelect>): QueryBuilder<{
        view: InferSelectResult<ViewWithRelations, S> | null;
    }>;
    create<S extends ViewSelect>(args: CreateArgs<S, CreateViewInput['view']> & {
        select: S;
    } & StrictSelect<S, ViewSelect>): QueryBuilder<{
        createView: {
            view: InferSelectResult<ViewWithRelations, S>;
        };
    }>;
    update<S extends ViewSelect>(args: UpdateArgs<S, {
        id: string;
    }, ViewPatch> & {
        select: S;
    } & StrictSelect<S, ViewSelect>): QueryBuilder<{
        updateView: {
            view: InferSelectResult<ViewWithRelations, S>;
        };
    }>;
    delete<S extends ViewSelect>(args: DeleteArgs<{
        id: string;
    }, S> & {
        select: S;
    } & StrictSelect<S, ViewSelect>): QueryBuilder<{
        deleteView: {
            view: InferSelectResult<ViewWithRelations, S>;
        };
    }>;
}
