/** * External Base URL Helper * * Provides a single source of truth for determining the external base URL * used for webhooks and other external-facing endpoints. */ export interface ExternalUrlInfo { baseUrl: string; source: string; } /** * Get the external base URL from environment variables * * Priority order: * 1. NGROK_URL (explicit current dev tunnel) * 2. NGROK_DEV_DOMAIN (dev domain from ngrok config) * 3. DEV_URL (future dev environments) * 4. DEV_DOMAIN (future dev environments, adds https://) * 5. NEXT_PUBLIC_APP_URL (generic fallback) * 6. APP_URL (generic fallback) * * @returns External URL info or null if no URL is configured */ export declare function getExternalBaseUrl(): ExternalUrlInfo | null; /** * Get the full webhook URL * * @param path - Webhook path (default: "/api/webhooks/jira") * @returns Full webhook URL or null if base URL is not configured */ export declare function getWebhookUrl(path?: string): ExternalUrlInfo & { fullUrl: string; } | null; //# sourceMappingURL=externalUrl.d.ts.map