import type { LoginProviderId } from "@oh-my-pi/pi-catalog/compat/auth-ids"; import type { ProviderDefinition } from "./types.js"; /** * The single per-provider list, derived from the compiled auth stratum * (`@oh-my-pi/pi-catalog` `rules/auth/*.kdl`) in `/login` display order. * Adding a provider = one new `auth/.kdl` (plus a `TRANSPORTS` entry when * it shapes requests in code). Every legacy structure (`OAuthProvider` union, * env map, login list, refresh/login dispatch, CLI callback maps) derives * from this registry. */ export declare const PROVIDER_REGISTRY: readonly ProviderDefinition[]; export declare function getProviderDefinition(id: string): ProviderDefinition | undefined; /** Loginable providers (those whose auth policy declares a `login` flow). */ export type OAuthProviderUnion = LoginProviderId;