/** * Firecrawl credential resolution (DESIGN.md §6, firecrawl tech-plan §3). * * Single source of truth for the Firecrawl API key. Whitespace-only values * are treated as absent, matching the descriptor's `isConfigured` contract. * * Firecrawl keys are `fc-`-prefixed and sent as `Authorization: Bearer fc-…` * on every request (transport arrives in FC-03). This module resolves the * raw env value only; it performs no transport and reads no other Provider's * credentials. * * Boundary rules (ARCHITECTURE.md §2): * - May import the normalized-error contract only. * - Must NOT import transport, command presentation, or another * Provider's Adapter. * * Missing credentials are surfaced as {@link ConfigurationError} * (exit 3), distinct from {@link AuthError} (exit 1) which means the * Provider REJECTED a presented credential. */ /** Credential environment names read by this module (#232 derivation pin). */ export declare const ENV_NAMES: readonly ["FIRECRAWL_API_KEY"]; /** * Resolve the Firecrawl API key without throwing. Returns `undefined` * when no non-blank value is present. */ export declare function resolveFirecrawlApiKey(env: NodeJS.ProcessEnv): string | undefined; /** * Resolve the Firecrawl API key or throw {@link ConfigurationError} * (exit 3) when it is missing. Call this at every capability * invocation gate. */ export declare function requireFirecrawlApiKey(env: NodeJS.ProcessEnv): string; /** * True when a non-blank Firecrawl API key is configured. Metadata-only: * performs no transport construction and reads no other Provider's * credentials. */ export declare function isFirecrawlConfigured(env: NodeJS.ProcessEnv): boolean; //# sourceMappingURL=credentials.d.ts.map