import type { VersionInfo, DocsPage } from '../types.js'; /** * Validate that a version string is acceptable (semver-like or named). */ export declare function validateVersionString(version: string): boolean; /** * Compare two version strings for sorting. Named versions sort before semver. * Returns negative if a < b, positive if a > b, 0 if equal. */ export declare function compareVersions(a: string, b: string): number; /** * Select the default version from a list. Returns the one marked isDefault, * or falls back to the latest by version comparison. */ export declare function selectDefaultVersion(versions: VersionInfo[]): VersionInfo | null; /** * Prepare page objects for insertion when copying pages to a new version. */ export declare function prepareVersionCopy(sourcePages: DocsPage[], newVersionId: string): Array<{ versionId: string; title: string; slug: string; content: unknown; sortOrder: number; parentId: string | null; }>; //# sourceMappingURL=manager.d.ts.map