/**
 * ApiSchema 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 { ApiSchemaWithRelations, ApiSchemaSelect, ApiSchemaFilter, ApiSchemaOrderBy, CreateApiSchemaInput, ApiSchemaPatch } from '../input-types';
export declare class ApiSchemaModel {
    private client;
    constructor(client: OrmClient);
    findMany<S extends ApiSchemaSelect>(args: FindManyArgs<S, ApiSchemaFilter, ApiSchemaOrderBy> & {
        select: S;
    } & StrictSelect<S, ApiSchemaSelect>): QueryBuilder<{
        apiSchemas: ConnectionResult<InferSelectResult<ApiSchemaWithRelations, S>>;
    }>;
    findFirst<S extends ApiSchemaSelect>(args: FindFirstArgs<S, ApiSchemaFilter, ApiSchemaOrderBy> & {
        select: S;
    } & StrictSelect<S, ApiSchemaSelect>): QueryBuilder<{
        apiSchema: InferSelectResult<ApiSchemaWithRelations, S> | null;
    }>;
    findOne<S extends ApiSchemaSelect>(args: {
        id: string;
        select: S;
    } & StrictSelect<S, ApiSchemaSelect>): QueryBuilder<{
        apiSchema: InferSelectResult<ApiSchemaWithRelations, S> | null;
    }>;
    create<S extends ApiSchemaSelect>(args: CreateArgs<S, CreateApiSchemaInput['apiSchema']> & {
        select: S;
    } & StrictSelect<S, ApiSchemaSelect>): QueryBuilder<{
        createApiSchema: {
            apiSchema: InferSelectResult<ApiSchemaWithRelations, S>;
        };
    }>;
    update<S extends ApiSchemaSelect>(args: UpdateArgs<S, {
        id: string;
    }, ApiSchemaPatch> & {
        select: S;
    } & StrictSelect<S, ApiSchemaSelect>): QueryBuilder<{
        updateApiSchema: {
            apiSchema: InferSelectResult<ApiSchemaWithRelations, S>;
        };
    }>;
    delete<S extends ApiSchemaSelect>(args: DeleteArgs<{
        id: string;
    }, S> & {
        select: S;
    } & StrictSelect<S, ApiSchemaSelect>): QueryBuilder<{
        deleteApiSchema: {
            apiSchema: InferSelectResult<ApiSchemaWithRelations, S>;
        };
    }>;
}
