import type { ContentSource, PreviewStyleArtifactInfo, ResolvedContentContext } from "./types.js"; export declare const INVALIDATION_DEBOUNCE_MS = 100; export declare const WS_RECONNECT_DELAY_MS = 5000; export declare const WS_RECONNECT_MAX_DELAY_MS = 120000; export declare const WS_RECONNECT_MAX_FAILURES = 10; export declare const WS_HEARTBEAT_INTERVAL_MS = 60000; export declare const WS_HEARTBEAT_TIMEOUT_MS = 300000; export declare function getConnectionLogContext(projectSlug: string | undefined, context?: Record): Record; export declare function getPreviewInvalidationPrefixes(contentContext: ResolvedContentContext | null): string[]; export declare function getReconnectDelay(consecutiveFailures: number): number; export declare function buildReloadProjectContext(contentContext: ResolvedContentContext | null, projectSlug: string, projectId: string, preparedStyleArtifact?: PreviewStyleArtifactInfo): { projectSlug: string; projectId: string; environment: "preview" | "production"; branch: string | null; releaseId: string | null; styleArtifactHash: string | undefined; styleAssetPath: string | undefined; }; export declare function buildContentSourceLabel(getContentSource: () => ContentSource, getContentContext: () => ResolvedContentContext | null): { contentSource: ContentSource; branch: string | null; }; export type PokeWebSocketMessage = { type: "poke" | "entity_updated"; payload: Record; }; export declare function parsePokeWebSocketMessage(data: string): PokeWebSocketMessage | null; //# sourceMappingURL=websocket-manager-helpers.d.ts.map