import * as Effect from "effect/Effect"; import { PrismaClient } from "./Client.ts"; import type { AppCreateInput, AppDeploymentTarget, AppUpdateInput, BranchCreateInput, BranchUpdateInput, BucketCreateInput, BucketKeyCreateInput, BuildLogsQuery, DatabaseConnectionCreateInput, DeploymentCreateInput, DeploymentLogsQuery, ConnectionCreateInput, CustomDomainCreateInput, DatabaseCreateInput, DatabaseUpdateInput, EnvironmentVariableCreateInput, EnvironmentVariableUpdateInput, PrismaBranchIdFilter, ProjectCreateInput, ProjectDatabaseCreateInput, ProjectTransferInput, ProjectUpdateInput, RestoreDatabaseInput, ScmInstallIntentCreateInput, SourceRepositoryCreateInput } from "./Types.ts"; export declare const listWorkspaces: (query?: { cursor?: string | null; limit?: number; }) => Effect.Effect; export declare const getWorkspace: (id: string) => Effect.Effect; export declare const getCurrentPrincipal: () => Effect.Effect; export declare const listRegions: (query?: { product?: "postgres" | "accelerate"; }) => Effect.Effect; export declare const listPostgresRegions: () => Effect.Effect; export declare const listAccelerateRegions: () => Effect.Effect; export declare const listProjects: (query?: { cursor?: string | null; limit?: number; }) => Effect.Effect; export declare const getProject: (id: string) => Effect.Effect; export declare const createProject: (input: ProjectCreateInput) => Effect.Effect; export declare const updateProject: (id: string, input: ProjectUpdateInput) => Effect.Effect; export declare const deleteProject: (id: string) => Effect.Effect; export declare const transferProject: (id: string, input: ProjectTransferInput) => Effect.Effect; export declare const listDatabases: (query?: { cursor?: string | null; limit?: number; projectId?: string; branchId?: PrismaBranchIdFilter; branchGitName?: string; }) => Effect.Effect; export declare const listProjectDatabases: (projectId: string, query?: { cursor?: string | null; limit?: number; }) => Effect.Effect; export declare const getDatabase: (id: string) => Effect.Effect; export declare const createDatabase: (input: DatabaseCreateInput) => Effect.Effect; export declare const createProjectDatabase: (projectId: string, input: ProjectDatabaseCreateInput) => Effect.Effect; export declare const updateDatabase: (id: string, input: DatabaseUpdateInput) => Effect.Effect; export declare const deleteDatabase: (id: string) => Effect.Effect; export declare const listBackups: (databaseId: string, query?: { limit?: number; }) => Effect.Effect; export declare const restoreDatabase: (targetDatabaseId: string, input: RestoreDatabaseInput) => Effect.Effect; export declare const getDatabaseUsage: (databaseId: string, query?: { startDate?: string; endDate?: string; }) => Effect.Effect; export declare const listConnections: (query?: { cursor?: string | null; limit?: number; databaseId?: string; }) => Effect.Effect; export declare const listDatabaseConnections: (databaseId: string, query?: { cursor?: string | null; limit?: number; }) => Effect.Effect; export declare const getConnection: (id: string) => Effect.Effect; export declare const createConnection: (input: ConnectionCreateInput) => Effect.Effect; export declare const createDatabaseConnection: (databaseId: string, input: DatabaseConnectionCreateInput) => Effect.Effect; export declare const deleteConnection: (id: string) => Effect.Effect; export declare const rotateConnection: (id: string) => Effect.Effect; export declare const listBranches: (projectId: string, query?: { cursor?: string | null; limit?: number; gitName?: string; gitNameContains?: string; }) => Effect.Effect; export declare const getBranch: (id: string) => Effect.Effect; export declare const createBranch: (projectId: string, input: BranchCreateInput) => Effect.Effect; export declare const updateBranch: (id: string, input: BranchUpdateInput) => Effect.Effect; export declare const deleteBranch: (id: string) => Effect.Effect; export declare const listBuckets: (query?: { cursor?: string | null; limit?: number; projectId?: string; branchId?: PrismaBranchIdFilter; branchGitName?: string; }) => Effect.Effect; export declare const getBucket: (id: string) => Effect.Effect; export declare const createBucket: (input: BucketCreateInput) => Effect.Effect; export declare const deleteBucket: (id: string) => Effect.Effect; export declare const listBucketKeys: (bucketId: string, query?: { cursor?: string | null; limit?: number; }) => Effect.Effect; export declare const createBucketKey: (bucketId: string, input: BucketKeyCreateInput) => Effect.Effect; export declare const deleteBucketKey: (bucketId: string, keyId: string) => Effect.Effect; export declare const getCustomDomain: (id: string) => Effect.Effect; export declare const deleteCustomDomain: (id: string) => Effect.Effect; export declare const retryCustomDomain: (id: string) => Effect.Effect; export declare const listApps: (query?: { cursor?: string | null; limit?: number; projectId?: string; branchId?: PrismaBranchIdFilter; branchGitName?: string; }) => Effect.Effect; export declare const getApp: (id: string) => Effect.Effect; export declare const createApp: (input: AppCreateInput) => Effect.Effect; export declare const updateApp: (id: string, input: AppUpdateInput) => Effect.Effect; export declare const deleteApp: (id: string) => Effect.Effect; export declare const promoteApp: (id: string, target: AppDeploymentTarget) => Effect.Effect; export declare const rollbackApp: (id: string, target: AppDeploymentTarget) => Effect.Effect; export declare const listAppDomains: (appId: string) => Effect.Effect; export declare const createAppDomain: (appId: string, input: CustomDomainCreateInput) => Effect.Effect; export declare const listAppDeployments: (appId: string, query?: { cursor?: string | null; limit?: number; }) => Effect.Effect; export declare const createAppDeployment: (appId: string, input?: DeploymentCreateInput) => Effect.Effect; export declare const getDeployment: (id: string) => Effect.Effect; export declare const deleteDeployment: (id: string) => Effect.Effect; export declare const startDeployment: (id: string) => Effect.Effect; export declare const stopDeployment: (id: string) => Effect.Effect; export declare const getDeploymentLogsRequest: (id: string, query?: DeploymentLogsQuery) => Effect.Effect; export declare const getBuildLogsRequest: (buildId: string, query?: BuildLogsQuery) => Effect.Effect; export declare const listEnvironmentVariables: (query?: { cursor?: string | null; limit?: number; projectId?: string; class?: "production" | "preview"; key?: string; branchId?: string; }) => Effect.Effect; export declare const getEnvironmentVariable: (id: string) => Effect.Effect; export declare const createEnvironmentVariable: (input: EnvironmentVariableCreateInput) => Effect.Effect; export declare const updateEnvironmentVariable: (id: string, input: EnvironmentVariableUpdateInput) => Effect.Effect; export declare const deleteEnvironmentVariable: (id: string) => Effect.Effect; export declare const listIntegrations: (query: { workspaceId: string; cursor?: string | null; limit?: number; }) => Effect.Effect; export declare const listWorkspaceIntegrations: (workspaceId: string, query?: { cursor?: string | null; limit?: number; }) => Effect.Effect; export declare const getIntegration: (id: string) => Effect.Effect; export declare const deleteIntegration: (id: string) => Effect.Effect; export declare const revokeWorkspaceIntegration: (workspaceId: string, clientId: string) => Effect.Effect; export declare const listScmInstallations: (query: { workspaceId: string; cursor?: string | null; limit?: number; }) => Effect.Effect; export declare const createScmInstallIntent: (input: ScmInstallIntentCreateInput) => Effect.Effect; export declare const listScmInstallationRepositories: (installationId: string, query?: { cursor?: string | null; limit?: number; }) => Effect.Effect; export declare const listSourceRepositories: (query: { projectId: string; cursor?: string | null; limit?: number; }) => Effect.Effect; export declare const getSourceRepository: (id: string) => Effect.Effect; export declare const createSourceRepository: (input: SourceRepositoryCreateInput) => Effect.Effect; export declare const deleteSourceRepository: (id: string) => Effect.Effect; //# sourceMappingURL=Operations.d.ts.map