import { ZeniAPIResponse } from '../../responsePayload'; import { FeatureInterest } from './featureNotificationViewState'; /** * Backend payload shapes for the FeatureInterest API exposed by * `@repo:notifications`. snake_case is preserved here verbatim; the * `toFeatureInterest` mapper converts to the camelCase state shape. */ export interface FeatureInterestDataPayload { create_time: string; feature: string; interest_id: string; notified: boolean; update_time: string; additional_info?: string | null; email?: string | null; notified_time?: string | null; } export interface FeatureInterestListPayload { feature_interests: FeatureInterestDataPayload[]; } export type FeatureInterestResponse = ZeniAPIResponse; export type FeatureInterestListResponse = ZeniAPIResponse; export declare const toFeatureInterest: (payload: FeatureInterestDataPayload) => FeatureInterest;