export declare const LOG_COLLECTION_SCOPE: "worldwide"; export type LogCollectionScope = typeof LOG_COLLECTION_SCOPE | "us-only"; export declare const LOG_RETENTION_DAYS = 30; export declare const LOG_RETENTION_MS: number; export declare const LOG_BODY_MAX_CHARS = 4096; export declare const LOG_BACKEND_BURST_LIMIT = 30; export declare const LOG_BACKEND_BURST_WINDOW_MS = 10000; export declare const LOG_BACKEND_SUSTAINED_LIMIT = 300; export declare const LOG_BACKEND_SUSTAINED_WINDOW_MS = 60000; export declare const LOG_CLIENT_BUFFER_MAX_EVENTS = 200; export declare const LOG_CLIENT_SESSION_MAX_EVENTS = 1000; export declare const LOG_CLIENT_FLUSH_INTERVAL_MS = 10000; export declare const LOG_CLIENT_BATCH_MAX_EVENTS = 64; export declare const LOG_CLIENT_REQUEST_MAX_BYTES: number; export declare const LOG_CLIENT_BURST_LIMIT = 60; export declare const LOG_CLIENT_BURST_WINDOW_MS = 10000; export declare const LOG_CLIENT_SUSTAINED_LIMIT = 600; export declare const LOG_CLIENT_SUSTAINED_WINDOW_MS = 60000; export declare const LOG_CLIENT_DEVICE_WINDOWS_MAX = 2000; export declare const LOG_CLIENT_ROUTE_PATH = "/_log"; export type VibeLogLane = "backend" | "client"; export type VibeLogTrigger = "fetch" | "scheduled" | "onchange" | "client"; export declare const LOG_CLIENT_TRIGGER: "client"; export type VibeLogLevel = "debug" | "info" | "warn" | "error"; export declare function normalizeLogLevel(level: unknown): VibeLogLevel; export declare function truncateLogBody(body: string): string; export declare function logEventIdPrefix(epochMs: number): string; export interface LogIdLatch { lastMs: number; seq: number; } export declare function newLogIdLatch(): LogIdLatch; export declare function mintLogEventId(latch: LogIdLatch, epochMs: number, suffix: string): string; export declare function logEventIdFloor(epochMs: number): string; export declare function logRetentionIdFloor(nowMs: number): string;