import * as Redacted from "effect/Redacted"; import { CredentialsStore } from "../Auth/Credentials.ts"; export type AxiomAuthConfig = { method: "env"; } | { method: "stored"; credentialType: "apiToken"; } | { method: "stored"; credentialType: "pat"; }; export type AxiomStoredCredentials = { type: "apiToken"; apiToken: string; apiBaseUrl?: string; orgId?: string; } | { type: "pat"; apiToken: string; apiBaseUrl?: string; orgId: string; }; export type AxiomResolvedCredentials = { type: "apiToken"; apiToken: Redacted.Redacted; apiBaseUrl: string; orgId?: string; source: { type: AxiomAuthConfig["method"]; details?: string; }; } | { type: "pat"; apiToken: Redacted.Redacted; apiBaseUrl: string; orgId: string; source: { type: AxiomAuthConfig["method"]; details?: string; }; }; export declare const AXIOM_AUTH_PROVIDER_NAME = "Axiom"; /** * Layer that registers the Axiom {@link AuthProvider} into the * {@link AuthProviders} registry when built. Include this in the Axiom * `providers()` layer so `alchemy login` can discover it. */ export declare const AxiomAuth: import("effect/Layer").Layer; //# sourceMappingURL=AuthProvider.d.ts.map