/**
 * User 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 { UserWithRelations, UserSelect, UserFilter, UserOrderBy, CreateUserInput, UserPatch } from '../input-types';
export declare class UserModel {
    private client;
    constructor(client: OrmClient);
    findMany<S extends UserSelect>(args: FindManyArgs<S, UserFilter, UserOrderBy> & {
        select: S;
    } & StrictSelect<S, UserSelect>): QueryBuilder<{
        users: ConnectionResult<InferSelectResult<UserWithRelations, S>>;
    }>;
    findFirst<S extends UserSelect>(args: FindFirstArgs<S, UserFilter, UserOrderBy> & {
        select: S;
    } & StrictSelect<S, UserSelect>): QueryBuilder<{
        user: InferSelectResult<UserWithRelations, S> | null;
    }>;
    findOne<S extends UserSelect>(args: {
        id: string;
        select: S;
    } & StrictSelect<S, UserSelect>): QueryBuilder<{
        user: InferSelectResult<UserWithRelations, S> | null;
    }>;
    create<S extends UserSelect>(args: CreateArgs<S, CreateUserInput['user']> & {
        select: S;
    } & StrictSelect<S, UserSelect>): QueryBuilder<{
        createUser: {
            user: InferSelectResult<UserWithRelations, S>;
        };
    }>;
    update<S extends UserSelect>(args: UpdateArgs<S, {
        id: string;
    }, UserPatch> & {
        select: S;
    } & StrictSelect<S, UserSelect>): QueryBuilder<{
        updateUser: {
            user: InferSelectResult<UserWithRelations, S>;
        };
    }>;
    delete<S extends UserSelect>(args: DeleteArgs<{
        id: string;
    }, S> & {
        select: S;
    } & StrictSelect<S, UserSelect>): QueryBuilder<{
        deleteUser: {
            user: InferSelectResult<UserWithRelations, S>;
        };
    }>;
}
