import { type Dirent } from 'node:fs'; export type RemoteLesson = { slug: string; sectionSlug: string | null; }; export type ProductModuleType = 'workshop' | 'tutorial'; type NormalizeSlug = (value: string) => string; export declare function stripEpicAiSlugSuffix(value: string): string; export declare function formatProductLessonUrl({ productHost, productSlug, moduleType, lessonSlug, sectionSlug, }: { productHost: string; productSlug: string; moduleType?: ProductModuleType; lessonSlug: string; sectionSlug: string | null; }): string; export declare function isDirectory(targetPath: string): Promise; export declare function resolveMdxFile(dir: string, baseName: 'README' | 'FINISHED'): Promise; export declare function collectStepDirectories(entries: Array, exerciseRoot: string): Map; solutions: Array; }>; export declare function fetchRemoteWorkshopLessons({ productHost, workshopSlug, normalizeLessonSlug, normalizeSectionSlug, requireNonEmptyLessonSlug, }: { productHost: string; workshopSlug: string; normalizeLessonSlug?: NormalizeSlug; normalizeSectionSlug?: NormalizeSlug; requireNonEmptyLessonSlug?: boolean; }): Promise<{ status: 'success'; lessons: Array; moduleType: ProductModuleType; } | { status: 'error'; message: string; }>; export {};