/**
 * TriggerFunction 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 { TriggerFunctionWithRelations, TriggerFunctionSelect, TriggerFunctionFilter, TriggerFunctionOrderBy, CreateTriggerFunctionInput, TriggerFunctionPatch } from '../input-types';
export declare class TriggerFunctionModel {
    private client;
    constructor(client: OrmClient);
    findMany<S extends TriggerFunctionSelect>(args: FindManyArgs<S, TriggerFunctionFilter, TriggerFunctionOrderBy> & {
        select: S;
    } & StrictSelect<S, TriggerFunctionSelect>): QueryBuilder<{
        triggerFunctions: ConnectionResult<InferSelectResult<TriggerFunctionWithRelations, S>>;
    }>;
    findFirst<S extends TriggerFunctionSelect>(args: FindFirstArgs<S, TriggerFunctionFilter, TriggerFunctionOrderBy> & {
        select: S;
    } & StrictSelect<S, TriggerFunctionSelect>): QueryBuilder<{
        triggerFunction: InferSelectResult<TriggerFunctionWithRelations, S> | null;
    }>;
    findOne<S extends TriggerFunctionSelect>(args: {
        id: string;
        select: S;
    } & StrictSelect<S, TriggerFunctionSelect>): QueryBuilder<{
        triggerFunction: InferSelectResult<TriggerFunctionWithRelations, S> | null;
    }>;
    create<S extends TriggerFunctionSelect>(args: CreateArgs<S, CreateTriggerFunctionInput['triggerFunction']> & {
        select: S;
    } & StrictSelect<S, TriggerFunctionSelect>): QueryBuilder<{
        createTriggerFunction: {
            triggerFunction: InferSelectResult<TriggerFunctionWithRelations, S>;
        };
    }>;
    update<S extends TriggerFunctionSelect>(args: UpdateArgs<S, {
        id: string;
    }, TriggerFunctionPatch> & {
        select: S;
    } & StrictSelect<S, TriggerFunctionSelect>): QueryBuilder<{
        updateTriggerFunction: {
            triggerFunction: InferSelectResult<TriggerFunctionWithRelations, S>;
        };
    }>;
    delete<S extends TriggerFunctionSelect>(args: DeleteArgs<{
        id: string;
    }, S> & {
        select: S;
    } & StrictSelect<S, TriggerFunctionSelect>): QueryBuilder<{
        deleteTriggerFunction: {
            triggerFunction: InferSelectResult<TriggerFunctionWithRelations, S>;
        };
    }>;
}
