/**
 * Object 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 { ObjectWithRelations, ObjectSelect, ObjectFilter, ObjectOrderBy, CreateObjectInput, ObjectPatch } from '../input-types';
export declare class ObjectModel {
    private client;
    constructor(client: OrmClient);
    findMany<S extends ObjectSelect>(args: FindManyArgs<S, ObjectFilter, ObjectOrderBy> & {
        select: S;
    } & StrictSelect<S, ObjectSelect>): QueryBuilder<{
        objects: ConnectionResult<InferSelectResult<ObjectWithRelations, S>>;
    }>;
    findFirst<S extends ObjectSelect>(args: FindFirstArgs<S, ObjectFilter> & {
        select: S;
    } & StrictSelect<S, ObjectSelect>): QueryBuilder<{
        objects: {
            nodes: InferSelectResult<ObjectWithRelations, S>[];
        };
    }>;
    findOne<S extends ObjectSelect>(args: {
        id: string;
        select: S;
    } & StrictSelect<S, ObjectSelect>): QueryBuilder<{
        getNodeAtPath: InferSelectResult<ObjectWithRelations, S> | null;
    }>;
    create<S extends ObjectSelect>(args: CreateArgs<S, CreateObjectInput['object']> & {
        select: S;
    } & StrictSelect<S, ObjectSelect>): QueryBuilder<{
        createObject: {
            object: InferSelectResult<ObjectWithRelations, S>;
        };
    }>;
    update<S extends ObjectSelect>(args: UpdateArgs<S, {
        id: string;
    }, ObjectPatch> & {
        select: S;
    } & StrictSelect<S, ObjectSelect>): QueryBuilder<{
        updateObject: {
            object: InferSelectResult<ObjectWithRelations, S>;
        };
    }>;
    delete<S extends ObjectSelect>(args: DeleteArgs<{
        id: string;
    }, S> & {
        select: S;
    } & StrictSelect<S, ObjectSelect>): QueryBuilder<{
        deleteObject: {
            object: InferSelectResult<ObjectWithRelations, S>;
        };
    }>;
}
