import { CommitScope } from '@kb-labs/commit-contracts';

/**
 * Resolves a scope id to an absolute filesystem path.
 *
 * Looks up the scope in the provided scopes array by id.
 * Falls back to treating the id as a relative path from baseCwd (legacy compat).
 *
 * @param baseCwd  - Workspace root (ctx.cwd)
 * @param scopeId  - Scope identifier, e.g. "root", "public/kb-labs"
 * @param scopes   - Configured scopes from CommitPluginConfig.scope.scopes
 */
declare function resolveScopePath(baseCwd: string, scopeId?: string, scopes?: CommitScope[]): string;

export { resolveScopePath };
