export interface IPlexServer { uri: string; accessToken: string; clientIdentifier: string; name: string; sourceTitle: string; version: string; } export interface IPlexUser { id: number; username: string; subscription: { active: boolean; }; } export interface IPlexItem { desc?: string; uri: string; title: string; seriesTitle?: string; lastViewedAt: number; thumb: string; type: "episode"; } export declare function buildItemUri(server: IPlexServer, itemKey: string, { forChildren }?: { forChildren?: boolean; }): string; export declare function parseItemMetadata(server: IPlexServer, metadata: Record, { resolveRoot }?: { resolveRoot?: boolean; }): IPlexItem; export declare function extractMediaKeyFromUri(uri: string): string;