import { FeatureFlagService } from "../featureFlag/feature-flag-service"; /** * Interface for window object to enable testing */ export interface WindowLike { agentx?: { [key: string]: unknown; }; [key: string]: unknown; } /** * Exposes agentx-services APIs through window.agentx namespace */ export declare class DesktopApiService { private isInitialized; private readonly featureFlagAPIFactory; private readonly windowObj; constructor(featureFlagService: FeatureFlagService, windowObj?: WindowLike); /** * Detects if we're running in a test environment. * In production, properties are non-configurable for security. * In test environments, properties are configurable for cleanup. */ private get isTestEnvironment(); init(): void; private createAgentxAPI; private exposeAgentxAPI; private protectWindowAgentx; } //# sourceMappingURL=desktop-api-service.d.ts.map