/**
 * Schema 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 { SchemaWithRelations, SchemaSelect, SchemaFilter, SchemaOrderBy, CreateSchemaInput, SchemaPatch } from '../input-types';
export declare class SchemaModel {
    private client;
    constructor(client: OrmClient);
    findMany<S extends SchemaSelect>(args: FindManyArgs<S, SchemaFilter, SchemaOrderBy> & {
        select: S;
    } & StrictSelect<S, SchemaSelect>): QueryBuilder<{
        schemas: ConnectionResult<InferSelectResult<SchemaWithRelations, S>>;
    }>;
    findFirst<S extends SchemaSelect>(args: FindFirstArgs<S, SchemaFilter, SchemaOrderBy> & {
        select: S;
    } & StrictSelect<S, SchemaSelect>): QueryBuilder<{
        schema: InferSelectResult<SchemaWithRelations, S> | null;
    }>;
    findOne<S extends SchemaSelect>(args: {
        id: string;
        select: S;
    } & StrictSelect<S, SchemaSelect>): QueryBuilder<{
        schema: InferSelectResult<SchemaWithRelations, S> | null;
    }>;
    create<S extends SchemaSelect>(args: CreateArgs<S, CreateSchemaInput['schema']> & {
        select: S;
    } & StrictSelect<S, SchemaSelect>): QueryBuilder<{
        createSchema: {
            schema: InferSelectResult<SchemaWithRelations, S>;
        };
    }>;
    update<S extends SchemaSelect>(args: UpdateArgs<S, {
        id: string;
    }, SchemaPatch> & {
        select: S;
    } & StrictSelect<S, SchemaSelect>): QueryBuilder<{
        updateSchema: {
            schema: InferSelectResult<SchemaWithRelations, S>;
        };
    }>;
    delete<S extends SchemaSelect>(args: DeleteArgs<{
        id: string;
    }, S> & {
        select: S;
    } & StrictSelect<S, SchemaSelect>): QueryBuilder<{
        deleteSchema: {
            schema: InferSelectResult<SchemaWithRelations, S>;
        };
    }>;
}
