import type { Manifest, AnyManifest, Media, Chapter, GraphEditChapter, GraphViewChapter } from "../../manifest"; type ManifestInfo = { manifest: AnyManifest; manifestURL: string; }; export declare const convertToObject: (manifest: AnyManifest | string) => Promise>; export declare function fetchManifest(manifest: AnyManifest | string): Promise; export declare function getInitialChapter(manifest: Manifest): Chapter | undefined; export declare function getChapter(chapters: Chapter[], chapterId?: string): Chapter | undefined; export declare function getGraphItem(graphObj: Manifest["graph"], chapterId: string): GraphEditChapter | GraphViewChapter | undefined; export declare function getMedia(media: Media, videoId?: string): Media["videos"][0] | undefined; export {};