import type { Client, Options as Options2, TDataShape } from "../../util/api/client/index.ts"; import type { CreateDatabaseConnectionStringData, CreateDatabaseConnectionStringErrors, CreateDatabaseConnectionStringResponses, CreateDatabaseData, CreateDatabaseErrors, CreateDatabaseResponses, CreateProjectWithPostgresDatabaseData, CreateProjectWithPostgresDatabaseErrors, CreateProjectWithPostgresDatabaseResponses, DeleteDatabaseConnectionStringData, DeleteDatabaseConnectionStringErrors, DeleteDatabaseConnectionStringResponses, DeleteDatabaseData, DeleteDatabaseErrors, DeleteDatabaseResponses, DeleteProjectData, DeleteProjectErrors, DeleteProjectResponses, GetDatabaseData, GetDatabaseErrors, GetDatabaseResponses, GetDatabaseUsageMetricsData, GetDatabaseUsageMetricsErrors, GetDatabaseUsageMetricsResponses, GetPrismaAccelerateRegionsData, GetPrismaAccelerateRegionsErrors, GetPrismaAccelerateRegionsResponses, GetPrismaPostgresRegionsData, GetPrismaPostgresRegionsErrors, GetPrismaPostgresRegionsResponses, GetProjectData, GetProjectErrors, GetProjectResponses, ListBackupsData, ListBackupsErrors, ListBackupsResponses, ListDatabaseConnectionsData, ListDatabaseConnectionsErrors, ListDatabaseConnectionsResponses, ListDatabasesData, ListDatabasesErrors, ListDatabasesResponses, ListIntegrationsData, ListIntegrationsErrors, ListIntegrationsResponses, ListProjectsData, ListProjectsErrors, ListProjectsResponses, ListWorkspacesData, ListWorkspacesErrors, ListWorkspacesResponses, RevokeIntegrationTokensData, RevokeIntegrationTokensErrors, RevokeIntegrationTokensResponses, TransferProjectData, TransferProjectErrors, TransferProjectResponses } from "./types.gen.ts"; export type Options = Options2 & { /** * You can provide a client instance returned by `createClient()` instead of * individual options. This might be also useful if you want to implement a * custom client. */ client?: Client; /** * You can pass arbitrary values through the `meta` object. This can be * used to access values that aren't defined as part of the SDK function. */ meta?: Record; }; declare class _HeyApiClient { protected _client: Client; constructor(args?: { client?: Client; }); } export declare class PrismaClient extends _HeyApiClient { /** * Delete database connection string * Deletes the database connection string with the given ID. */ deleteDatabaseConnectionString(options: Options): import("../../util/api/client/types.gen.ts").RequestResult; /** * Delete database * Deletes the database with the given ID. */ deleteDatabase(options: Options): import("../../util/api/client/types.gen.ts").RequestResult; /** * Get database * Returns the database with the given ID. */ getDatabase(options: Options): import("../../util/api/client/types.gen.ts").RequestResult; /** * Get list of database connections * Returns all connections for the given database. */ listDatabaseConnections(options: Options): import("../../util/api/client/types.gen.ts").RequestResult; /** * Create database connection string * Creates a new connection string for the given database. */ createDatabaseConnectionString(options: Options): import("../../util/api/client/types.gen.ts").RequestResult; /** * Get list of backups * Returns backups for the specified database. */ listBackups(options: Options): import("../../util/api/client/types.gen.ts").RequestResult; /** * Get database usage metrics * Returns usage metrics for the specified database. */ getDatabaseUsageMetrics(options: Options): import("../../util/api/client/types.gen.ts").RequestResult; /** * Get list of projects * Returns the list of projects the token has access to. */ listProjects(options?: Options): import("../../util/api/client/types.gen.ts").RequestResult; /** * Create project with a postgres database * Creates a new project with a postgres database. */ createProjectWithPostgresDatabase(options?: Options): import("../../util/api/client/types.gen.ts").RequestResult; /** * Delete project * Deletes the project with the given ID. */ deleteProject(options: Options): import("../../util/api/client/types.gen.ts").RequestResult; /** * Get project * Returns the project with the given ID. */ getProject(options: Options): import("../../util/api/client/types.gen.ts").RequestResult; /** * Transfer project * Transfer the project with the given ID to the new owner's workspace */ transferProject(options: Options): import("../../util/api/client/types.gen.ts").RequestResult; /** * Get list of databases * Returns databases for the given project. */ listDatabases(options: Options): import("../../util/api/client/types.gen.ts").RequestResult; /** * Create database * Creates a new database for the given project. */ createDatabase(options: Options): import("../../util/api/client/types.gen.ts").RequestResult; /** * Get list of integrations * Returns integrations for the given workspace. */ listIntegrations(options: Options): import("../../util/api/client/types.gen.ts").RequestResult; /** * Revoke integration tokens * Revokes the integration tokens with the given client ID. */ revokeIntegrationTokens(options: Options): import("../../util/api/client/types.gen.ts").RequestResult; /** * Get Prisma Postgres regions * Returns all available regions for Prisma Postgres. */ getPrismaPostgresRegions(options?: Options): import("../../util/api/client/types.gen.ts").RequestResult; /** * Get Prisma Accelerate regions * Returns all available regions for Prisma Accelerate. */ getPrismaAccelerateRegions(options?: Options): import("../../util/api/client/types.gen.ts").RequestResult; /** * Get list of workspaces * Returns the list of workspaces the current token can access. */ listWorkspaces(options?: Options): import("../../util/api/client/types.gen.ts").RequestResult; } export {}; //# sourceMappingURL=sdk.gen.d.ts.map