/**
 * UniqueConstraint 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 { UniqueConstraintWithRelations, UniqueConstraintSelect, UniqueConstraintFilter, UniqueConstraintOrderBy, CreateUniqueConstraintInput, UniqueConstraintPatch } from '../input-types';
export declare class UniqueConstraintModel {
    private client;
    constructor(client: OrmClient);
    findMany<S extends UniqueConstraintSelect>(args: FindManyArgs<S, UniqueConstraintFilter, UniqueConstraintOrderBy> & {
        select: S;
    } & StrictSelect<S, UniqueConstraintSelect>): QueryBuilder<{
        uniqueConstraints: ConnectionResult<InferSelectResult<UniqueConstraintWithRelations, S>>;
    }>;
    findFirst<S extends UniqueConstraintSelect>(args: FindFirstArgs<S, UniqueConstraintFilter, UniqueConstraintOrderBy> & {
        select: S;
    } & StrictSelect<S, UniqueConstraintSelect>): QueryBuilder<{
        uniqueConstraint: InferSelectResult<UniqueConstraintWithRelations, S> | null;
    }>;
    findOne<S extends UniqueConstraintSelect>(args: {
        id: string;
        select: S;
    } & StrictSelect<S, UniqueConstraintSelect>): QueryBuilder<{
        uniqueConstraint: InferSelectResult<UniqueConstraintWithRelations, S> | null;
    }>;
    create<S extends UniqueConstraintSelect>(args: CreateArgs<S, CreateUniqueConstraintInput['uniqueConstraint']> & {
        select: S;
    } & StrictSelect<S, UniqueConstraintSelect>): QueryBuilder<{
        createUniqueConstraint: {
            uniqueConstraint: InferSelectResult<UniqueConstraintWithRelations, S>;
        };
    }>;
    update<S extends UniqueConstraintSelect>(args: UpdateArgs<S, {
        id: string;
    }, UniqueConstraintPatch> & {
        select: S;
    } & StrictSelect<S, UniqueConstraintSelect>): QueryBuilder<{
        updateUniqueConstraint: {
            uniqueConstraint: InferSelectResult<UniqueConstraintWithRelations, S>;
        };
    }>;
    delete<S extends UniqueConstraintSelect>(args: DeleteArgs<{
        id: string;
    }, S> & {
        select: S;
    } & StrictSelect<S, UniqueConstraintSelect>): QueryBuilder<{
        deleteUniqueConstraint: {
            uniqueConstraint: InferSelectResult<UniqueConstraintWithRelations, S>;
        };
    }>;
}
