import { Credentials } from "@distilled.cloud/fly-io"; import * as Config from "effect/Config"; import * as Layer from "effect/Layer"; import { AlchemyProfile } from "../Auth/Profile.ts"; export { Credentials, CredentialsFromEnv, credentials, DEFAULT_API_BASE_URL, normalizeApiBaseUrl, type Config as CredentialsConfig, } from "@distilled.cloud/fly-io"; /** * Build a `Credentials` layer that resolves Fly credentials via the * Alchemy AuthProvider using the configured profile (defaults to "default", * overridable with the `ALCHEMY_PROFILE` env/config value). * * Maps onto `@distilled.cloud/fly-io`'s `{ apiKey, apiBaseUrl }` shape. * Distilled's own `CredentialsFromEnv` also accepts `FLY_IO_API_KEY` as a * fallback — Alchemy itself only reads `FLY_API_TOKEN`. */ export declare const fromAuthProvider: () => Layer.Layer; //# sourceMappingURL=Credentials.d.ts.map