import type * as API from "@distilled.cloud/core/api"; import type { ConfigError, InvalidInput } from "@distilled.cloud/core/errors"; import type { SdkError } from "@distilled.cloud/core/sdk-error"; import type * as HttpClient from "effect/http/HttpClient"; import type * as HttpClientError from "effect/http/HttpClientError"; import type * as Layer from "effect/Layer"; import { Credentials } from "./credentials.ts"; import { type DefaultErrors } from "./errors.ts"; /** * Error channel shared by every generated Prisma operation. * Generated service files annotate operations with `API.OperationMethod` explicitly so the compiler * never infers these back out of the schema generics. */ export type PrismaOpError = DefaultErrors | ConfigError | HttpClientError.HttpClientError | InvalidInput | SdkError; /** Context (requirements) shared by every generated Prisma operation. */ export type PrismaOpContext = Credentials | HttpClient.HttpClient; export declare const PrismaProtocol: Layer.Layer; //# sourceMappingURL=protocol.d.ts.map