import { DesignSystemData, DesignSystemComponent, SyncConfig } from './types'; export declare class StrataSystemSyncService extends EventTarget { private static instance; private config; private designSystemData; private wsConnection; private pollInterval; private reconnectAttempts; private maxReconnectAttempts; private shouldReconnect; private baseUrl; private isPolling; private subscribers; private componentLookupIndex; private readonly coreAssetKeys; private constructor(); static getInstance(): StrataSystemSyncService; initialize(config: SyncConfig): Promise; private fetchLocalData; private isLocalEnvironment; private fetchInitialData; private fetchSnapshotVariables; private fetchCssContent; private parseCssVariables; private detectVariableType; private extractUnit; private fetchFromSyncEndpoints; private buildEndpoint; private buildProjectMetadataEndpoints; private buildProjectAssetsEndpoints; private fetchWithFallback; private normalizeVariablesPayload; private normalizeBackendComponent; private normalizeComponentsPayload; private extractItems; private fetchCorePayload; private extractFromDesignSystemData; private fetchProjectMetadata; private fetchProjectAssetUrls; private extractCoreAssetUrls; private loadJsonAsset; private findNestedValue; private applyDesignSystemToDocument; private setupRealtimeSync; private setupWebSocket; private setupPolling; private handleRealtimeUpdate; getDesignSystemData(): DesignSystemData; private buildComponentLookupIndex; private dispatchLookupError; getComponent(componentName: string): DesignSystemComponent | undefined; getAllComponents(): Record; getVariable(variableName: string): import("./types").DesignSystemVariable; getAllVariables(): Record; subscribe(eventType: string, callback: (data: any) => void): () => void; private notifySubscribers; private dispatchSyncEvent; disconnect(): void; static reset(): void; }