/**
 * Represents a revision with flags that can be normalized.
 */
export type RevisionWithFlags = {
    version: string | null;
    revision: string;
    isCurrent: boolean;
    isDefaultVersion: boolean;
};
/**
 * Normalizes revision flags to ensure only one revision is marked as current/default.
 *
 * When multiple revisions are flagged (isCurrent or isDefaultVersion), the one with
 * the highest semantic version wins. If versions are equal, the highest revision string wins.
 * All other flagged revisions have their flags reset to false.
 *
 * Note: In this system, isCurrent and isDefaultVersion are coupled - if a revision
 * is current, it is also the default version.
 *
 * @param revisions - Array of revisions to normalize (mutated in place)
 */
export declare function normalizeRevisionFlags<T extends RevisionWithFlags>(revisions: T[]): void;
//# sourceMappingURL=normalize-revision-flags.d.ts.map