import * as Layer from "effect/Layer"; import * as Provider from "../Provider.ts"; import { type GitHubAuthOptions } from "./AuthProvider.ts"; import * as Credentials from "./Credentials.ts"; export { GitHubCredentials } from "./Credentials.ts"; declare const Providers_base: Provider.ProviderCollection; export declare class Providers extends Providers_base { } export type ProviderRequirements = Layer.Services>; export interface ProvidersOptions extends GitHubAuthOptions { } /** * GitHub providers (Comment, Environment, Repository, Secret, Variable, * Webhook) plus the GitHub AuthProvider that `alchemy login` discovers. * * Pass `baseUrl` to pin every GitHub resource to a GitHub Enterprise host * without relying on the auth provider's configuration: * * ```typescript * providers: GitHub.providers({ baseUrl: "github.example.com" }) * ``` * * The auth provider receives the same value, so `alchemy login` skips the * host prompt and authenticates against the pinned host (`gh auth token * --hostname`, enterprise token env vars). Individual resources can still * override the host per-resource via their own `baseUrl` prop. */ export declare const providers: (options?: ProvidersOptions) => Layer.Layer; //# sourceMappingURL=Providers.d.ts.map