/**
 * App 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 { AppWithRelations, AppSelect, AppFilter, AppOrderBy, CreateAppInput, AppPatch } from '../input-types';
export declare class AppModel {
    private client;
    constructor(client: OrmClient);
    findMany<S extends AppSelect>(args: FindManyArgs<S, AppFilter, AppOrderBy> & {
        select: S;
    } & StrictSelect<S, AppSelect>): QueryBuilder<{
        apps: ConnectionResult<InferSelectResult<AppWithRelations, S>>;
    }>;
    findFirst<S extends AppSelect>(args: FindFirstArgs<S, AppFilter> & {
        select: S;
    } & StrictSelect<S, AppSelect>): QueryBuilder<{
        apps: {
            nodes: InferSelectResult<AppWithRelations, S>[];
        };
    }>;
    findOne<S extends AppSelect>(args: {
        id: string;
        select: S;
    } & StrictSelect<S, AppSelect>): QueryBuilder<{
        app: InferSelectResult<AppWithRelations, S> | null;
    }>;
    create<S extends AppSelect>(args: CreateArgs<S, CreateAppInput['app']> & {
        select: S;
    } & StrictSelect<S, AppSelect>): QueryBuilder<{
        createApp: {
            app: InferSelectResult<AppWithRelations, S>;
        };
    }>;
    update<S extends AppSelect>(args: UpdateArgs<S, {
        id: string;
    }, AppPatch> & {
        select: S;
    } & StrictSelect<S, AppSelect>): QueryBuilder<{
        updateApp: {
            app: InferSelectResult<AppWithRelations, S>;
        };
    }>;
    delete<S extends AppSelect>(args: DeleteArgs<{
        id: string;
    }, S> & {
        select: S;
    } & StrictSelect<S, AppSelect>): QueryBuilder<{
        deleteApp: {
            app: InferSelectResult<AppWithRelations, S>;
        };
    }>;
}
