/**
 * Runtime analytics — vendor-agnostic event emission via postMessage.
 *
 * The host application decides what to do with events: forward to PostHog,
 * Mixpanel, Amplitude, a custom logger, or nothing at all.
 */
export type RuntimeAnalyticsEvent = "composition_loaded" | "composition_played" | "composition_paused" | "composition_seeked" | "composition_ended" | "element_picked" | "position_edit_fold_skipped" | "timeline_missing_pause" | "auto_marker_install_failed" | "custom_ease_install_failed" | "custom_ease_parse_failed" | "keyframe_ease_repair_failed";
export type RuntimeAnalyticsProperties = Record<string, string | number | boolean | null>;
/**
 * Wire the analytics + performance bridge to the runtime's postMessage transport.
 * Called once during runtime bootstrap from `init.ts`.
 */
export declare function initRuntimeAnalytics(postMessage: (payload: unknown) => void): void;
/**
 * Emit an analytics event through the bridge.
 * The host app receives it via postMessage and forwards to its analytics provider.
 */
export declare function emitAnalyticsEvent(event: RuntimeAnalyticsEvent, properties?: RuntimeAnalyticsProperties): void;
//# sourceMappingURL=analytics.d.ts.map