/**
 * Function 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 { FunctionWithRelations, FunctionSelect, FunctionFilter, FunctionOrderBy, CreateFunctionInput, FunctionPatch } from '../input-types';
export declare class FunctionModel {
    private client;
    constructor(client: OrmClient);
    findMany<S extends FunctionSelect>(args: FindManyArgs<S, FunctionFilter, FunctionOrderBy> & {
        select: S;
    } & StrictSelect<S, FunctionSelect>): QueryBuilder<{
        functions: ConnectionResult<InferSelectResult<FunctionWithRelations, S>>;
    }>;
    findFirst<S extends FunctionSelect>(args: FindFirstArgs<S, FunctionFilter, FunctionOrderBy> & {
        select: S;
    } & StrictSelect<S, FunctionSelect>): QueryBuilder<{
        function: InferSelectResult<FunctionWithRelations, S> | null;
    }>;
    findOne<S extends FunctionSelect>(args: {
        id: string;
        select: S;
    } & StrictSelect<S, FunctionSelect>): QueryBuilder<{
        function: InferSelectResult<FunctionWithRelations, S> | null;
    }>;
    create<S extends FunctionSelect>(args: CreateArgs<S, CreateFunctionInput['function']> & {
        select: S;
    } & StrictSelect<S, FunctionSelect>): QueryBuilder<{
        createFunction: {
            function: InferSelectResult<FunctionWithRelations, S>;
        };
    }>;
    update<S extends FunctionSelect>(args: UpdateArgs<S, {
        id: string;
    }, FunctionPatch> & {
        select: S;
    } & StrictSelect<S, FunctionSelect>): QueryBuilder<{
        updateFunction: {
            function: InferSelectResult<FunctionWithRelations, S>;
        };
    }>;
    delete<S extends FunctionSelect>(args: DeleteArgs<{
        id: string;
    }, S> & {
        select: S;
    } & StrictSelect<S, FunctionSelect>): QueryBuilder<{
        deleteFunction: {
            function: InferSelectResult<FunctionWithRelations, S>;
        };
    }>;
}
