import "../_dnt.polyfills.js";
import { Runtime } from "../runtimes/mod.js";
import { Typedef } from "../types.js";
import { t } from "../index.js";
import type { Effect } from "../gen/typegraph_core";
type PrismaLinkArg = {
    fkey?: boolean;
    field?: string;
    unique?: boolean;
};
export declare class PrismaRuntime extends Runtime {
    name: string;
    connectionStringSecret: string;
    constructor(name: string, connectionStringSecret: string);
    /** create a function for a prisma `findUnique` query */
    findUnique(model: string | Typedef): t.Func;
    /** create a function for a prisma `findMany` query */
    findMany(model: string | Typedef): t.Func;
    /** create a function for a prisma `findFirst` query */
    findFirst(model: string | Typedef): t.Func;
    /** create a function for a prisma `aggregate` query */
    aggregate(model: string | Typedef): t.Func;
    /** create a function for a prisma `groupBy` query */
    groupBy(model: string | Typedef): t.Func;
    /** create a function for a prisma `create` query */
    create(model: string | Typedef): t.Func;
    /** create a function for a prisma `createMany` query */
    createMany(model: string | Typedef): t.Func;
    /** create a function for a prisma `update` query */
    update(model: string | Typedef): t.Func;
    /** create a function for a prisma `updateMany` query */
    updateMany(model: string | Typedef): t.Func;
    /** create a function for a prisma `upsert` query */
    upsert(model: string | Typedef): t.Func;
    /** create a function for a prisma `delete` query */
    delete(model: string | Typedef): t.Func;
    /** create a function for a prisma `deleteMany` query */
    deleteMany(model: string | Typedef): t.Func;
    /** create a function for prisma `execute` */
    execute(query: string, parameters: Typedef, effect: Effect): t.Func;
    /** create a function for prisma `queryRaw` */
    queryRaw(query: string, parameters: Typedef | null, output: Typedef): t.Func;
    /** define a relationship */
    link(targetType: string | Typedef, name: string, arg?: PrismaLinkArg): Typedef;
}
export {};
