import type { AcademyModulePageProps } from "./AcademyModulePage.types"; /** Without any player message by then, the embed is treated as blocked. */ export declare const PLAYER_READY_TIMEOUT_MS = 15000; /** Unlock wait for lessons whose duration is unknown. */ export declare const DEFAULT_LESSON_UNLOCK_SECONDS: number; declare const useAcademyModulePage: (props: AcademyModulePageProps) => { data: { module: { title: string; id: string; status: "ACTIVE" | "PENDING" | "CONFIRMED" | "INACTIVE" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | "COMPLETED" | "NOT_STARTED"; videos: { title: string; id: string; youtubeUrl: string; description?: string | null | undefined; durationSeconds?: number | undefined; isCompleted?: boolean | undefined; }[]; progressPercent: number; classes?: string[] | undefined; description?: string | null | undefined; } | null; videos: { title: string; id: string; youtubeUrl: string; description?: string | null | undefined; durationSeconds?: number | undefined; isCompleted?: boolean | undefined; }[]; selectedVideo: { title: string; id: string; youtubeUrl: string; description?: string | null | undefined; durationSeconds?: number | undefined; isCompleted?: boolean | undefined; } | null; selectedVideoEmbedUrl: string | null; selectedVideoWatchUrl: string | null; isPlayerUnavailable: boolean; completedVideos: number; moduleProgressPercent: number; showAccessBlocked: boolean; isLoading: boolean; error: string | null; canView: boolean; canUpdate: boolean; canMarkWatched: boolean; markWatchedLabel: string; markWatchedHint: string | null; isMarkingWatched: boolean; actionError: string | null; }; fns: { handleBack: () => void; handleSelectVideo: (videoId: string) => void; handleMarkWatched: () => Promise; handlePlayerLoad: () => void; }; }; export default useAcademyModulePage;