/**
 * Field 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 { FieldWithRelations, FieldSelect, FieldFilter, FieldOrderBy, CreateFieldInput, FieldPatch } from '../input-types';
export declare class FieldModel {
    private client;
    constructor(client: OrmClient);
    findMany<S extends FieldSelect>(args: FindManyArgs<S, FieldFilter, FieldOrderBy> & {
        select: S;
    } & StrictSelect<S, FieldSelect>): QueryBuilder<{
        fields: ConnectionResult<InferSelectResult<FieldWithRelations, S>>;
    }>;
    findFirst<S extends FieldSelect>(args: FindFirstArgs<S, FieldFilter> & {
        select: S;
    } & StrictSelect<S, FieldSelect>): QueryBuilder<{
        fields: {
            nodes: InferSelectResult<FieldWithRelations, S>[];
        };
    }>;
    findOne<S extends FieldSelect>(args: {
        id: string;
        select: S;
    } & StrictSelect<S, FieldSelect>): QueryBuilder<{
        field: InferSelectResult<FieldWithRelations, S> | null;
    }>;
    create<S extends FieldSelect>(args: CreateArgs<S, CreateFieldInput['field']> & {
        select: S;
    } & StrictSelect<S, FieldSelect>): QueryBuilder<{
        createField: {
            field: InferSelectResult<FieldWithRelations, S>;
        };
    }>;
    update<S extends FieldSelect>(args: UpdateArgs<S, {
        id: string;
    }, FieldPatch> & {
        select: S;
    } & StrictSelect<S, FieldSelect>): QueryBuilder<{
        updateField: {
            field: InferSelectResult<FieldWithRelations, S>;
        };
    }>;
    delete<S extends FieldSelect>(args: DeleteArgs<{
        id: string;
    }, S> & {
        select: S;
    } & StrictSelect<S, FieldSelect>): QueryBuilder<{
        deleteField: {
            field: InferSelectResult<FieldWithRelations, S>;
        };
    }>;
}
