/**
 * Api 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 { ApiWithRelations, ApiSelect, ApiFilter, ApiOrderBy, CreateApiInput, ApiPatch } from '../input-types';
export declare class ApiModel {
    private client;
    constructor(client: OrmClient);
    findMany<S extends ApiSelect>(args: FindManyArgs<S, ApiFilter, ApiOrderBy> & {
        select: S;
    } & StrictSelect<S, ApiSelect>): QueryBuilder<{
        apis: ConnectionResult<InferSelectResult<ApiWithRelations, S>>;
    }>;
    findFirst<S extends ApiSelect>(args: FindFirstArgs<S, ApiFilter> & {
        select: S;
    } & StrictSelect<S, ApiSelect>): QueryBuilder<{
        apis: {
            nodes: InferSelectResult<ApiWithRelations, S>[];
        };
    }>;
    findOne<S extends ApiSelect>(args: {
        id: string;
        select: S;
    } & StrictSelect<S, ApiSelect>): QueryBuilder<{
        api: InferSelectResult<ApiWithRelations, S> | null;
    }>;
    create<S extends ApiSelect>(args: CreateArgs<S, CreateApiInput['api']> & {
        select: S;
    } & StrictSelect<S, ApiSelect>): QueryBuilder<{
        createApi: {
            api: InferSelectResult<ApiWithRelations, S>;
        };
    }>;
    update<S extends ApiSelect>(args: UpdateArgs<S, {
        id: string;
    }, ApiPatch> & {
        select: S;
    } & StrictSelect<S, ApiSelect>): QueryBuilder<{
        updateApi: {
            api: InferSelectResult<ApiWithRelations, S>;
        };
    }>;
    delete<S extends ApiSelect>(args: DeleteArgs<{
        id: string;
    }, S> & {
        select: S;
    } & StrictSelect<S, ApiSelect>): QueryBuilder<{
        deleteApi: {
            api: InferSelectResult<ApiWithRelations, S>;
        };
    }>;
}
