import { ExtendedPlanFile, ParseResult, PlanFile } from '../types'; /** * Parse a Sqitch plan file with full validation * Supports both changes and tags */ export declare function parsePlanFile(planPath: string): ParseResult; /** * Resolve a reference within a plan file context * Handles symbolic references (HEAD, ROOT) and relative references */ export declare function resolveReference(ref: string, plan: ExtendedPlanFile, currentPackage?: string): { change?: string; tag?: string; error?: string; }; /** * Simple plan file parser without validation. * Returns a PlanFile (without tags) for callers that don't need tag data. */ export declare function parsePlanFileSimple(planPath: string): PlanFile; /** * Get all change names from a plan file */ export declare function getChanges(planPath: string): string[]; /** * Get the latest (last) change from a plan file */ export declare function getLatestChange(planPath: string): string;