import type * as API from "@distilled.cloud/core/api"; import type { ConfigError } from "@distilled.cloud/core/errors"; 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 WorkOS operation. Generated service * files annotate operations with `API.OperationMethod` explicitly so the compiler never infers these back out of * the schema generics. */ export type WorkosOpError = DefaultErrors | ConfigError | HttpClientError.HttpClientError; /** Context (requirements) shared by every generated WorkOS operation. */ export type WorkosOpContext = Credentials | HttpClient.HttpClient; export declare const WorkosProtocol: Layer.Layer; //# sourceMappingURL=protocol.d.ts.map