import { PrismaClient } from '@prisma/client'; import { Provider, ProviderTypes } from '../lib/structures/Provider'; /** * The class that represents the Prisma.io provider. * @extends {Provider} */ export declare class PrismaIOProvider extends Provider { /** * Prisma.io client. * @type {PrismaClient} */ client: PrismaClient; /** * The type of the provider. * @type {ProviderTypes} */ type: ProviderTypes; constructor(options?: string); /** * The method that initializes the provider. */ init(): Promise; /** * The method that create a new model. * @param {String} model The model name to create. * @param {any} options The options to create the model with. * @returns {any} */ insert(model: string, options: any): Promise; /** * The method that return an existing model. * @param {String} model The model name to get. * @param {any} options The options to get the model with. * @returns {any} */ get(model: string, options: any): Promise; /** * The method that return an existing models. * @param {String} model The model name to get. * @param {any} options The options to get the model with. * @returns {any} */ getMany(model: string, options: any): Promise; /** * The method that updates an existing model. * @param {String} model The model name to update. * @param {any} options The options to update the model with. * @returns {any} */ update(model: string, options: any): Promise; /** * The method that deletes an existing model. * @param {String} model The model name to delete. * @param {any} options The options to delete the model with. * @returns {any} */ delete(model: string, options: any): Promise; } //# sourceMappingURL=PrismaIOProvider.d.ts.map