/** * Pluginator - Minecraft Server Plugin Manager * * Main entry point and module exports */ export * from './core/types/index.js'; export { parseVersion, cleanVersion, compareVersions, isNewer, isOlder, isEqual, satisfiesRange, getLatestVersion, sortVersions, sortVersionsDescending, isPrerelease, formatVersion, isMcVersionCompatible, VersionCompareResult, type ParsedVersion, } from './core/version.js'; export { scanJar, scanDirectory, scanForUnrecognizedFiles, findPluginByName, getAuthorsString, getDependenciesString, matchesFilenamePattern, isUnrecognizedJar, UNRECOGNIZED_JAR_SUFFIXES, } from './core/scanner.js'; export { PluginManager, createPlugin, validatePlugin, } from './core/plugin-manager.js'; export { ServerManager } from './core/server-manager.js'; export { BasePluginSource, SourceError, SourceRegistry, SpigotSource, ModrinthSource, GitHubSource, WebManifestSource, HangarSource, JenkinsSource, GeyserMCSource, } from './core/sources/index.js'; export { PluginatorConfigSchema, PluginSchema, PluginsConfigSchema, SourceConfigSchema, SourcesConfigSchema, ThemeColorsSchema, ThemeConfigSchema, validateConfig, formatZodErrors, type PluginatorConfigInput, type PluginatorConfigOutput, type PluginInput, type PluginOutput, type SourceConfigInput, type SourceConfigOutput, type ThemeConfigInput, type ThemeColorsInput, DEFAULT_SOURCES, DEFAULT_THEME_COLORS, OCEAN_THEME_COLORS, FOREST_THEME_COLORS, SUNSET_THEME_COLORS, THEME_PRESETS, getThemeColors, mergeThemeColors, loadConfig, saveConfig, loadPlugins, savePlugins, loadSources, saveSources, loadTheme, initializeConfig, ConfigManager, getConfigManager, type ConfigLoadResult, } from './config/index.js'; /** * Infrastructure exports — DEPRECATED at the package root. * * @deprecated since v2.11 — these internal utilities will be removed from the * package root in v3.0 (BREAKING). They are implementation details, not public API. * If you depend on them, pin to the v2.x line or copy what you need into your own code. * * ## v3.0 cleanup plan (DO NOT FORGET) * * When cutting v3.0: * 1. Delete the entire `export { ... } from './infrastructure/index.js'` block below. * 2. Update README to clarify the supported import surface (CLI binary + core library types). * 3. Bump major version per SemVer (these removals are breaking changes). * 4. Search this file's git log for "@deprecated v2.11" to find every annotated symbol. * * Surface that STAYS public in v3.0: core types (Plugin, CombinedPlugin, PluginSourceType, * IPluginSource), version utilities, scanner functions, PluginManager / ServerManager, * source classes (BasePluginSource, SourceError, SourceRegistry, individual sources), * config schemas + ConfigManager, workflow factories. */ export { /** @deprecated v2.11, removed in v3.0 — internal HTTP utility */ httpGet, /** @deprecated v2.11, removed in v3.0 — internal HTTP utility */ httpPost, /** @deprecated v2.11, removed in v3.0 — internal HTTP utility */ downloadFile, /** @deprecated v2.11, removed in v3.0 — internal HTTP utility */ downloadFileStream, /** @deprecated v2.11, removed in v3.0 — internal HTTP utility */ isUrlReachable, /** @deprecated v2.11, removed in v3.0 — internal HTTP utility */ getRedirectUrl, /** @deprecated v2.11, removed in v3.0 — internal HTTP error class */ HttpError, type HttpRequestOptions, type DownloadOptions, type HttpResponse, /** @deprecated v2.11, removed in v3.0 — internal checksum utility */ hashBuffer, /** @deprecated v2.11, removed in v3.0 — internal checksum utility */ hashString, /** @deprecated v2.11, removed in v3.0 — internal checksum utility */ hashFile, /** @deprecated v2.11, removed in v3.0 — internal checksum utility */ hashFileStream, /** @deprecated v2.11, removed in v3.0 — internal checksum utility */ hashFileMultiple, /** @deprecated v2.11, removed in v3.0 — internal checksum utility */ verifyChecksum, /** @deprecated v2.11, removed in v3.0 — internal checksum utility */ verifyChecksums, /** @deprecated v2.11, removed in v3.0 — internal checksum utility */ formatHash, type HashAlgorithm, type HashResult, type VerifyResult, /** @deprecated v2.11, removed in v3.0 — use workflow APIs instead */ createBackup, /** @deprecated v2.11, removed in v3.0 — use workflow APIs instead */ createSimpleBackup, /** @deprecated v2.11, removed in v3.0 — use workflow APIs instead */ restoreBackup, /** @deprecated v2.11, removed in v3.0 — internal backup utility */ listBackupContents, /** @deprecated v2.11, removed in v3.0 — internal backup utility */ backupFile, /** @deprecated v2.11, removed in v3.0 — internal backup utility */ rotateBackups, /** @deprecated v2.11, removed in v3.0 — internal backup utility */ getBackupInfo, /** @deprecated v2.11, removed in v3.0 — internal backup utility */ generateBackupFilename, type BackupOptions, type BackupResult, type RestoreOptions, /** @deprecated v2.11, removed in v3.0 — internal path utility */ safePath, /** @deprecated v2.11, removed in v3.0 — internal path utility */ safeJoin, /** @deprecated v2.11, removed in v3.0 — internal path utility */ isWithinDirectory, /** @deprecated v2.11, removed in v3.0 — internal path utility */ expandHome, /** @deprecated v2.11, removed in v3.0 — internal path utility */ normalizePath, /** @deprecated v2.11, removed in v3.0 — internal path utility */ getUniqueFilename, /** @deprecated v2.11, removed in v3.0 — internal path utility */ ensureDirectory, /** @deprecated v2.11, removed in v3.0 — internal path utility */ ensureDirectorySync, /** @deprecated v2.11, removed in v3.0 — internal path utility */ pathExists, /** @deprecated v2.11, removed in v3.0 — internal path utility */ isDirectory, /** @deprecated v2.11, removed in v3.0 — internal path utility */ isFile, /** @deprecated v2.11, removed in v3.0 — internal path utility */ isReadable, /** @deprecated v2.11, removed in v3.0 — internal path utility */ isWritable, /** @deprecated v2.11, removed in v3.0 — internal path utility */ listDirectory, /** @deprecated v2.11, removed in v3.0 — internal path utility */ findFiles, /** @deprecated v2.11, removed in v3.0 — internal path utility */ getRelativePath, /** @deprecated v2.11, removed in v3.0 — internal path utility */ getTempDir, /** @deprecated v2.11, removed in v3.0 — internal path utility */ sanitizeFilename, /** @deprecated v2.11, removed in v3.0 — internal path utility */ isValidFilename, /** @deprecated v2.11, removed in v3.0 — internal path utility */ extractPluginName, type PathValidationResult, type DirectoryEntry, /** @deprecated v2.11, removed in v3.0 — internal logger */ Logger, /** @deprecated v2.11, removed in v3.0 — internal logger */ getLogger, /** @deprecated v2.11, removed in v3.0 — internal logger */ configureLogger, /** @deprecated v2.11, removed in v3.0 — internal logger */ createLogger, /** @deprecated v2.11, removed in v3.0 — internal logger */ log, type LogLevel, type LoggerOptions, type LogEntry, } from './infrastructure/index.js'; export * from './workflows/index.js'; export declare const NAME = "pluginator"; //# sourceMappingURL=index.d.ts.map