export declare function getCliVersion(): string;
export declare function isDevBuild(): boolean;
export declare function getUserAgent(): string;
/**
 * IAP (Identity-Aware Proxy) configuration for internal *.guildai.dev hosts.
 * Users must run `gcloud auth login` with an authorized Google account to access.
 */
interface IapConfig {
    clientId: string;
    serviceAccount: string;
}
/**
 * Get IAP configuration for the given URL
 *
 * Returns the appropriate IAP client ID and service account based on the target URL.
 *
 * @returns IAP config if URL is IAP-protected, null otherwise
 */
export declare function getIapConfig(url: string): IapConfig | null;
/**
 * @deprecated Use getIapConfig(url).clientId instead
 */
export declare const IAP_CLIENT_ID: string;
/**
 * @deprecated Use getIapConfig(url).serviceAccount instead
 */
export declare const IAP_SERVICE_ACCOUNT: string;
/**
 * Get the Guildcore API base URL
 *
 * Returns the base URL for the Guildcore API with /api prefix.
 * All public API routes (agents, workspaces, sessions, oauth, me) are under /api.
 *
 * Priority:
 * 1. --shared flag (sets GUILD_USE_SHARED=1)
 * 2. --local flag (sets GUILD_USE_LOCAL=1)
 * 3. GUILDCORE_URL environment variable (if set)
 * 4. GUILDCORE_PORT environment variable (constructs localhost URL)
 * 5. Default: https://app.guild.ai/api
 *
 * @returns Base URL for Guildcore API (e.g., "https://app.guild.ai/api")
 */
export declare function getGuildcoreUrl(): string;
/**
 * Get the dashboard (frontend) base URL
 *
 * Derives the frontend URL from the guildcore API URL by stripping /api.
 * Used to construct clickable links to dashboard pages.
 */
export declare function getDashboardUrl(): string;
/**
 * Get the Guildcore WebSocket base URL
 *
 * Derives the WebSocket URL from the HTTP guildcore URL:
 * - http:// → ws://, https:// → wss://
 *
 * @returns WebSocket base URL (e.g., "wss://app.guild.ai/api")
 */
export declare function getGuildcoreWsUrl(): string;
/**
 * Check if the given URL is an IAP-protected host
 *
 * IAP-protected hosts:
 * - *.guildai.dev (shared, staging environments)
 */
export declare function isIapProtectedUrl(url: string): boolean;
export {};
//# sourceMappingURL=config.d.ts.map