export interface SharedPlanEventHandlers {
    /** Generic process state change — use for view refreshes. */
    onProcessUpdated?: () => void | Promise<void>;
    /** Backend confirmed the user is authenticated (email link clicked / SafeKey approved). */
    onAuthenticated?: () => void | Promise<void>;
    /** All moderators granted permission. */
    onPermissionGranted?: () => void | Promise<void>;
}
export interface SharedPlanEventListener {
    subscribe(planId: string, handlers: SharedPlanEventHandlers): void;
    unsubscribe(planId: string): void;
}
