import { DiscoveryOptions } from './discovery'; export { CHANGELOG_NAMES, DependencyEdge, DependencyGraph, DependencyGraphAnalysis, DependencyType, DiscoveredChangelog, DiscoveryOptions, DiscoveryResult, buildDependencyGraph, discoverAllChangelogs, discoverPackages, discoverProject, discoverProjectByName, findChangelogs, findChangelogsInTree, findInternalDependencies, findInternalDependenciesWithTypes, findProjectChangelog, findProjectChangelogInTree, getExpectedChangelogPath, getTopologicalOrder, getTransitiveDependencies, getTransitiveDependents, hasChangelog, transitivelyDependsOn } from './discovery'; import { Workspace } from './models'; export { CreateProjectOptions, DEFAULT_EXCLUDE, DEFAULT_PATTERNS, DEFAULT_WORKSPACE_CONFIG, Project, Workspace, WorkspaceConfig, WorkspaceType, addDependent, createProject, createWorkspace, createWorkspaceConfig, dependsOn, getDependencies, getDependencyCount, getDependentCount, getDependents, getProject, getProjectCount, getProjectNames, hasInternalDependencies, hasInternalDependents, hasProject, hasChangelog as hasProjectChangelog, isPrivate, isPublishable, withDependents } from './models'; export { BatchUpdateOptions, BatchUpdateResult, BumpReason, CascadeBumpOptions, CascadeBumpResult, DEFAULT_BATCH_UPDATE_OPTIONS, DEFAULT_CASCADE_OPTIONS, DirectBumpInput, FailedUpdate, PlannedBump, UpdatedPackage, ValidationCheckResult, ValidationReport, ValidationResult, applyBumps, calculateCascadeBumps, calculateCascadeBumpsFromPackage, summarizeBatchUpdate, summarizeCascadeBumps, summarizeValidation, updateDependencyReferencesInTree, updatePackageVersionInTree, validateProject, validateWorkspace } from './operations'; /** * Workspace management with package discovery, dependency graphs, and versioning coordination. * * @module @hyperfrontend/versioning/workspace * * @example * ```typescript * import { discoverPackages, calculateCascadeBumps, applyBumps } from '@hyperfrontend/versioning' * * // Discover workspace packages * const { projects, projectMap, workspaceRoot } = discoverPackages() * * // Calculate cascade bumps for a package update * const cascadeResult = calculateCascadeBumps(workspace, [ * { name: 'lib-utils', bumpType: 'minor' } * ]) * * // Apply the bumps * const updateResult = applyBumps(workspace, cascadeResult.bumps) * ``` */ /** * Creates a complete workspace object by discovering packages * and building the dependency graph. * * @param options - Discovery configuration options * @returns Complete workspace object with projects and dependency graph * * @example Create a complete workspace object from disk * ```typescript * import { createWorkspaceFromDisk } from '@hyperfrontend/versioning' * * const workspace = createWorkspaceFromDisk() * * // Access projects * for (const project of workspace.projectList) { * console.log(`${project.name}@${project.version}`) * } * * // Get dependents of a package * const dependents = workspace.dependencyGraph.get('lib-utils') * ``` */ declare function createWorkspaceFromDisk(options?: DiscoveryOptions): Workspace; export { createWorkspaceFromDisk };