/**
 * Forms event bus — a minimal pub/sub so views that mutate submission state
 * (mark read/unread, star, archive) or form state (create, notify toggle,
 * archive) can tell the sidebar to refresh its unread badges immediately,
 * without threading a refresh callback through the whole component tree.
 *
 * Deliberately tiny and dependency-free: one event, synchronous fan-out,
 * SSR-safe. Subscribers must unsubscribe on unmount via the returned
 * disposer to avoid leaks.
 */
type Listener = () => void;
/** Subscribe to "forms data changed" notifications. Returns an unsubscribe fn. */
export declare function onFormsChanged(listener: Listener): () => void;
/** Notify all subscribers that forms/submission counts may have changed. */
export declare function emitFormsChanged(): void;
export {};
//# sourceMappingURL=forms-events.d.ts.map