/** * Build the displaced-label format used by `renameVersion({ swap: true })`: * `-prev-YYYYMMDDHHMMSS-`. The trailing version ID * makes the label unique within a workspace even if two swaps land in the * same UTC second. */ export declare function generatePrevLabel(newLabel: string, displacedId: number): string; /** * Map a PostgreSQL unique-violation (`23505`) on the version-label index * to a clear public error. Other errors pass through unchanged. */ export declare function mapVersionLabelUniqueViolation(e: unknown, label: string): unknown; //# sourceMappingURL=version-labels.d.ts.map