/** * Broker utility functions for message broker operations */ import { MessageBrokerTypes } from '../../types'; import { IMessageBrokerService, BrokerConfig } from '../types'; /** * Check if running in browser environment */ export declare function isBrowser(): boolean; /** * Validate SQS Queue URL format */ export declare function isValidSqsUrl(url: string): boolean; /** * Dynamic import for broker services to support tree-shaking */ export declare function loadBrokerService(): Promise<((type: MessageBrokerTypes, config: BrokerConfig) => IMessageBrokerService) | null>; /** * Parse event string to get broker tag and topic tag */ export declare function parseEventString(event: string): { brokerTag: string; topicTag: string; }; /** * Get queue URL for AWS SQS based on environment */ export declare function getSqsQueueUrl(topic: { queueUrls?: Array<{ env_slug: string; url: string; }>; }, envSlug: string): string;