/**
 * CheckConstraint 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 { CheckConstraintWithRelations, CheckConstraintSelect, CheckConstraintFilter, CheckConstraintOrderBy, CreateCheckConstraintInput, CheckConstraintPatch } from '../input-types';
export declare class CheckConstraintModel {
    private client;
    constructor(client: OrmClient);
    findMany<S extends CheckConstraintSelect>(args: FindManyArgs<S, CheckConstraintFilter, CheckConstraintOrderBy> & {
        select: S;
    } & StrictSelect<S, CheckConstraintSelect>): QueryBuilder<{
        checkConstraints: ConnectionResult<InferSelectResult<CheckConstraintWithRelations, S>>;
    }>;
    findFirst<S extends CheckConstraintSelect>(args: FindFirstArgs<S, CheckConstraintFilter> & {
        select: S;
    } & StrictSelect<S, CheckConstraintSelect>): QueryBuilder<{
        checkConstraints: {
            nodes: InferSelectResult<CheckConstraintWithRelations, S>[];
        };
    }>;
    findOne<S extends CheckConstraintSelect>(args: {
        id: string;
        select: S;
    } & StrictSelect<S, CheckConstraintSelect>): QueryBuilder<{
        checkConstraint: InferSelectResult<CheckConstraintWithRelations, S> | null;
    }>;
    create<S extends CheckConstraintSelect>(args: CreateArgs<S, CreateCheckConstraintInput['checkConstraint']> & {
        select: S;
    } & StrictSelect<S, CheckConstraintSelect>): QueryBuilder<{
        createCheckConstraint: {
            checkConstraint: InferSelectResult<CheckConstraintWithRelations, S>;
        };
    }>;
    update<S extends CheckConstraintSelect>(args: UpdateArgs<S, {
        id: string;
    }, CheckConstraintPatch> & {
        select: S;
    } & StrictSelect<S, CheckConstraintSelect>): QueryBuilder<{
        updateCheckConstraint: {
            checkConstraint: InferSelectResult<CheckConstraintWithRelations, S>;
        };
    }>;
    delete<S extends CheckConstraintSelect>(args: DeleteArgs<{
        id: string;
    }, S> & {
        select: S;
    } & StrictSelect<S, CheckConstraintSelect>): QueryBuilder<{
        deleteCheckConstraint: {
            checkConstraint: InferSelectResult<CheckConstraintWithRelations, S>;
        };
    }>;
}
