/** * @skillsmith/core - Core functionality for skill discovery */ export declare const VERSION = "0.12.5"; export * from './exports/services.js'; export * from './exports/repositories.js'; export { createDatabaseSync, createDatabaseAsync } from './db/createDatabase.js'; export { getBestDriver, type DriverType } from './db/createDatabase.js'; export type { Database } from './db/database-interface.js'; export { isCorruptionError, backupCorruptDbFile } from './db/drivers/corruption.js'; export { getBetterSqlite3FailureReason } from './db/drivers/betterSqlite3Driver.js'; export { createLogger, type Logger } from './utils/logger.js'; export { sha256Hex } from './journal/hash.js'; export { isQuietModeEnabled } from './utils/quiet-mode.js'; export * from './exports/types.js'; export { SkillsmithApiClient, ApiClientError, createApiClient, generateAnonymousId, ApiCache, createCache, getGlobalCache, DEFAULT_TTL, type ApiClientConfig, getPrivateRegistrySkillContent, type PrivateRegistrySkillContent, type PrivateRegistryGetErrorCode, type PrivateRegistryGetResult, type GetPrivateRegistrySkillContentParams, deriveSecuritySummaryFromApiSkill, deriveSecuritySummaryFromSkillRow, } from './api/index.js'; export { HybridSearch } from './search/index.js'; export { L1Cache, L2Cache, TieredCache } from './cache/index.js'; export { SecurityScanner } from './security/index.js'; export { compareScanReports, DEFAULT_RISK_THRESHOLD } from './security/index.js'; export type { HostileUpdateVerdict } from './security/index.js'; export { SCANNER_RULESET_VERSION } from './security/index.js'; export { validateDbPath, validateDbPathOrThrow, isPathSafe, DEFAULT_ALLOWED_DIRS, } from './security/index.js'; export { ErrorCodes, ErrorSuggestions, SkillsmithError, createErrorResponse, withErrorBoundary, } from './errors.js'; export { SkillsmithError as SkillsmithErrorV2, NetworkError, ApiError, ValidationError, SkillError, ConfigurationError, wrapError, getErrorMessage, isSkillsmithError, } from './errors/index.js'; export { BenchmarkRunner, SearchBenchmark, IndexBenchmark, runAllBenchmarks, formatReportAsJson, formatReportAsText, compareReports, validateSearchResults, validateIndexResults, SEARCH_TARGETS, INDEX_TARGETS, CacheBenchmark, EmbeddingBenchmark, CACHE_TARGETS, EMBEDDING_TARGETS, validateCacheResults, validateEmbeddingResults, } from './benchmarks/index.js'; export { SkillsmithTracer, getTracer, initializeTracing, shutdownTracing, traced, MetricsRegistry, getMetrics, initializeMetrics, timeAsync, timeSync, initializeTelemetry, shutdownTelemetry, LATENCY_BUCKETS, exportToPrometheus, getPrometheusMetrics, createPrometheusHandler, initializePostHog, shutdownPostHog, flushPostHog, trackEvent, trackSkillSearch, trackSkillView, trackSkillInstall, trackApiError, identifyUser, isFeatureFlagEnabled, getPostHog, isPostHogEnabled, ALLOWED_TRAITS, } from './telemetry/index.js'; export { UsageAnalyticsService, ExperimentService, ROIDashboardService, anonymizeUserId, hashProjectContext, AnalyticsStorage, UsageTracker, } from './analytics/index.js'; export { RateLimiter, InMemoryRateLimitStorage, createRateLimiterFromPreset, RATE_LIMIT_PRESETS, RateLimitQueueTimeoutError, RateLimitQueueFullError, } from './security/index.js'; export { AuditLogger, MIN_RETENTION_DAYS, MAX_RETENTION_DAYS } from './security/AuditLogger.js'; export { emitInstallEvent, emitSearchEvent, emitToolCallEvent, setTelemetryIdentityProvider, setTelemetryIdentityInvalidationHandler, getTelemetryEmitStats, } from './audit/remote-audit.js'; export type { InstallEventPayload, SearchEventPayload, ToolCallEventPayload, TelemetryIdentity, TelemetryIdentityProvider, } from './audit/remote-audit.js'; export { COMPATIBILITY_SLUGS, COMPATIBILITY_LABELS, BROWSE_ONLY_SLUGS, CLIENT_TO_COMPATIBILITY_SLUG, compatibilityLabel, } from './compatibility/slugs.js'; export type { CompatibilitySlug } from './compatibility/slugs.js'; export { indexLocalSkill } from './skills/index-local.js'; export type { IndexLocalSkillFrontmatter, IndexLocalSkillOptions, IndexLocalSkillResult, } from './skills/index-local.js'; export { BaseSourceAdapter, SourceAdapterRegistry, SourceIndexer, defaultRegistry, isSourceAdapter, LocalFilesystemAdapter, createLocalFilesystemAdapter, resolveSafeRealpath, isRealpathContained, } from './sources/index.js'; export type { LocalFilesystemConfig, FsResult, ResolveSafeRealpathOptions, } from './sources/index.js'; export type { ISourceAdapter, SourceType, SourceConfig, RateLimitConfig as SourceRateLimitConfig, SourceAuthConfig, SourceLocation, SourceRepository, SkillContent, SourceSearchOptions, SourceSearchResult, SkillIndexResult, BatchIndexResult, SourceHealth, AdapterError, SourceAdapterFactory, RegistryStats, ParsedSkillMetadata as SourceParsedSkillMetadata, ISkillParser, ISkillRepository, SourceIndexerOptions, } from './sources/index.js'; export { loadConfig, saveConfig, getApiKey, getApiBaseUrl, getConfigDir, getConfigPath, ensureConfigDir, isDebugEnabled, isTelemetryEnabled, isValidApiKeyFormat, storeApiKey, clearApiKey, getAuthStatus, type SkillsmithConfig, } from './config/index.js'; export { storeCredentials, loadCredentials, clearCredentials, refreshAccessToken, type TokenCredentials, } from './config/token-credentials.js'; export { tryRefreshToken, loadStoredAccessToken, resolveFreshAccessToken, } from './api/client.token-refresh.js'; export { getDeviceId, getOrCreateDeviceId, getOrCreateInstallId, setDeviceLabel, forgetDevice, isInventorySyncDisabledLocally, getLastInventoryPushAt, recordInventoryPush, shouldAutoPush, } from './config/device-identity.js'; export { getAuditNotifyState, recordAuditNotify, type AuditNotifyState, } from './config/audit-notify-state.js'; export { checkForUpdates, formatUpdateNotification, resolveUpdateNotificationClient, agentInstallRemediationCommand, checkCursorMcpArtifact, type VersionCheckResult, type CursorMcpArtifactCheck, } from './utils/version-check.js'; export { parseRepoUrl, isGitHubUrl, type ParsedRepoUrl } from './utils/github-url.js'; export { VALID_SKILL_NAME_RE, validateSkillName } from './utils/skill-name.js'; export { safeWriteFile, SymlinkError, HardlinkError } from './utils/safe-fs.js'; export * from './provenance/index.js'; export { GENERIC_TRIGGERS } from './data/generic-triggers.js'; export type { GenericTriggersStoplist } from './data/generic-triggers.js'; export { resolveAuditMode, tierDefault, isAuditMode, type AuditMode, type Tier as AuditModeTier, type ResolveAuditModeOptions, } from './config/audit-mode.js'; //# sourceMappingURL=index.d.ts.map