/**
 * ViewTable 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 { ViewTableWithRelations, ViewTableSelect, ViewTableFilter, ViewTableOrderBy, CreateViewTableInput, ViewTablePatch } from '../input-types';
export declare class ViewTableModel {
    private client;
    constructor(client: OrmClient);
    findMany<S extends ViewTableSelect>(args: FindManyArgs<S, ViewTableFilter, ViewTableOrderBy> & {
        select: S;
    } & StrictSelect<S, ViewTableSelect>): QueryBuilder<{
        viewTables: ConnectionResult<InferSelectResult<ViewTableWithRelations, S>>;
    }>;
    findFirst<S extends ViewTableSelect>(args: FindFirstArgs<S, ViewTableFilter> & {
        select: S;
    } & StrictSelect<S, ViewTableSelect>): QueryBuilder<{
        viewTables: {
            nodes: InferSelectResult<ViewTableWithRelations, S>[];
        };
    }>;
    findOne<S extends ViewTableSelect>(args: {
        id: string;
        select: S;
    } & StrictSelect<S, ViewTableSelect>): QueryBuilder<{
        viewTable: InferSelectResult<ViewTableWithRelations, S> | null;
    }>;
    create<S extends ViewTableSelect>(args: CreateArgs<S, CreateViewTableInput['viewTable']> & {
        select: S;
    } & StrictSelect<S, ViewTableSelect>): QueryBuilder<{
        createViewTable: {
            viewTable: InferSelectResult<ViewTableWithRelations, S>;
        };
    }>;
    update<S extends ViewTableSelect>(args: UpdateArgs<S, {
        id: string;
    }, ViewTablePatch> & {
        select: S;
    } & StrictSelect<S, ViewTableSelect>): QueryBuilder<{
        updateViewTable: {
            viewTable: InferSelectResult<ViewTableWithRelations, S>;
        };
    }>;
    delete<S extends ViewTableSelect>(args: DeleteArgs<{
        id: string;
    }, S> & {
        select: S;
    } & StrictSelect<S, ViewTableSelect>): QueryBuilder<{
        deleteViewTable: {
            viewTable: InferSelectResult<ViewTableWithRelations, S>;
        };
    }>;
}
