import type { GalleryPhoto } from '../types/gallery'; /** * Normalizes a single photo entry into a `GalleryPhoto` object with a 1-based position number. * * @param photo - A photo URL string or an existing `GalleryPhoto` object. * @param index - The zero-based index of the photo in its array, used to assign `number`. * @returns A `GalleryPhoto` with `number` set to `index + 1`. */ export declare function processPhoto(photo: string | GalleryPhoto, index: number): GalleryPhoto; /** * Normalizes one or more photos into an array of `GalleryPhoto` objects, * each assigned a sequential 1-based `number`. * * @param photos - A single photo URL string, a single `GalleryPhoto` object, * or an array of either. A non-array value is wrapped in an array before processing. * @returns An array of `GalleryPhoto` objects with sequential `number` fields. */ export declare function normalizePhotos(photos: string | GalleryPhoto | Array): GalleryPhoto[]; /** * @deprecated Use named import instead: * `import { normalizePhotos } from './normalize-photos'`. * Default export will be removed in the next major version. */ export default normalizePhotos;