/**
 * Email 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 { EmailWithRelations, EmailSelect, EmailFilter, EmailOrderBy, CreateEmailInput, EmailPatch } from '../input-types';
export declare class EmailModel {
    private client;
    constructor(client: OrmClient);
    findMany<S extends EmailSelect>(args: FindManyArgs<S, EmailFilter, EmailOrderBy> & {
        select: S;
    } & StrictSelect<S, EmailSelect>): QueryBuilder<{
        emails: ConnectionResult<InferSelectResult<EmailWithRelations, S>>;
    }>;
    findFirst<S extends EmailSelect>(args: FindFirstArgs<S, EmailFilter> & {
        select: S;
    } & StrictSelect<S, EmailSelect>): QueryBuilder<{
        emails: {
            nodes: InferSelectResult<EmailWithRelations, S>[];
        };
    }>;
    findOne<S extends EmailSelect>(args: {
        id: string;
        select: S;
    } & StrictSelect<S, EmailSelect>): QueryBuilder<{
        email: InferSelectResult<EmailWithRelations, S> | null;
    }>;
    create<S extends EmailSelect>(args: CreateArgs<S, CreateEmailInput['email']> & {
        select: S;
    } & StrictSelect<S, EmailSelect>): QueryBuilder<{
        createEmail: {
            email: InferSelectResult<EmailWithRelations, S>;
        };
    }>;
    update<S extends EmailSelect>(args: UpdateArgs<S, {
        id: string;
    }, EmailPatch> & {
        select: S;
    } & StrictSelect<S, EmailSelect>): QueryBuilder<{
        updateEmail: {
            email: InferSelectResult<EmailWithRelations, S>;
        };
    }>;
    delete<S extends EmailSelect>(args: DeleteArgs<{
        id: string;
    }, S> & {
        select: S;
    } & StrictSelect<S, EmailSelect>): QueryBuilder<{
        deleteEmail: {
            email: InferSelectResult<EmailWithRelations, S>;
        };
    }>;
}
