/** * Global configuration store for AuthSec SDK * Mirrors Python authsec_sdk config */ import type { AuthSecConfig } from './types.js'; export declare const DEFAULT_CIBA_BASE_URL: string; /** * Read .authsec.json from the current working directory. * Returns an empty object when the file is absent or invalid. */ export declare function loadConfigFile(): Record; /** In-memory session cache for user info (best-effort, used for oauth_user_info) */ export declare const sessionUserInfo: Record; export declare function getCurrentSessionId(): string | null; export declare function setCurrentSessionId(sessionId: string | null | undefined): void; export declare function clearCurrentSessionId(sessionId?: string | null): void; /** * Normalize caller-provided clientId to the runtime form expected by SDK Manager. * * Accepts: * - base UUID (`xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx`) * - base UUID with underscores * - already-suffixed IDs (`...-main-client` or `..._main-client`) */ export declare function normalizeRuntimeClientId(clientId: string): string; /** * Configure authentication settings for tool protection. * * Priority chain (highest → lowest): * explicit params → env vars → .authsec.json → hardcoded defaults */ export declare function configureAuth(clientId: string, appName: string, options?: { authServiceUrl?: string; servicesBaseUrl?: string; timeout?: number; retries?: number; }): void; /** Get current configuration (for debugging). */ export declare function getConfig(): Record; /** Check if authentication is properly configured. */ export declare function isConfigured(): boolean; /** Internal: get mutable config reference */ export declare function getInternalConfig(): AuthSecConfig; //# sourceMappingURL=config.d.ts.map