import type { Graph, Workspace } from '@onerepo/graph'; import type { LogStep } from '@onerepo/logger'; export type ReleaseType = 'major' | 'minor' | 'patch'; export type ChangeEntry = { type: ReleaseType; content: string; ref: string; filepath: string; }; export type VersionPlan = { type: ReleaseType; version: string; entries: Array; fromRef: string; throughRef: string; logs: Array<{ ref: string; subject: string; }>; }; type VersionOptions = { prerelease?: boolean; identifier?: string; snapshot?: string; step?: LogStep; }; export declare function getVersionable(graph: Graph, options?: VersionOptions): Promise>; /** * Finds the git SHA that modified the version string in the Workspace's package.json by using git's `-S` flag: https://git-scm.com/docs/git-log#Documentation/git-log.txt--Sltstringgt */ export declare function getLastVersion(workspace: Workspace, options?: { step?: LogStep; }): Promise; export {};