/** Franchise graph traversal for watch order guidance. */ /** Single entry in a franchise watch order */ export interface FranchiseEntry { id: number; title: string; format: string | null; status: string | null; type: "main" | "special"; } /** Media entry with its relations */ export interface RelationNode { id: number; title: { romaji: string | null; english: string | null; }; format: string | null; status: string | null; relations: { edges: Array<{ relationType: string; node: { id: number; title: { romaji: string | null; english: string | null; }; format: string | null; status: string | null; type: string; }; }>; }; } /** Result of building a franchise watch order */ export interface WatchOrderResult { entries: FranchiseEntry[]; truncated: boolean; } /** Build a watch order by following SEQUEL edges from the franchise root */ export declare function buildWatchOrder(startId: number, relationsMap: Map, includeSpecials: boolean): WatchOrderResult;