import type { SkillDiscoveryMode } from './types.js'; export declare const SKILL_DISCOVERY_ENV = "KIOKUKO_SKILL_DISCOVERY"; export declare const MAX_BEARER_TOKEN_CHARS = 4096; /** RFC 6750 b64token characters, bounded to keep header construction predictable. */ export declare function isBearerToken(value: unknown): value is string; /** Authenticated registry traffic is never sent to a configurable or local origin. */ export declare function isTrustedSkillsShApiUrl(value: string): boolean; /** Parse only positive delta-seconds or canonical IMF-fixdate HTTP dates. */ export declare function parseRetryAfterSeconds(value: string | null, now?: number): number | null; export declare function isSkillDiscoveryMode(value: unknown): value is SkillDiscoveryMode; export declare function normalizeSkillDiscoveryMode(value: unknown): SkillDiscoveryMode; export interface SkillDiscoveryConfig { mode: SkillDiscoveryMode; apiUrl: string; v1Token: string | null; githubToken: string | null; } export declare function readSkillDiscoveryConfig(env?: NodeJS.ProcessEnv): SkillDiscoveryConfig; //# sourceMappingURL=config.d.ts.map