UNPKG

google-photos-album-image-url-fetch

Version:
9 lines (8 loc) 435 B
import type { ImageInfo } from './imageInfo'; type ImageInfoWithoutUrl = Omit<ImageInfo, 'url'>; export type ImageInfoLike = ImageInfoWithoutUrl & { url: string | string[]; }; export type ImageInfoLikeRest<T extends ImageInfoLike> = Omit<Omit<T, 'url'>, 'imageUpdateDate'>; export declare function splitResult<T extends ImageInfoLike>(input: Readonly<T>[]): [ImageInfoLikeRest<T>[], T['url'][], T['imageUpdateDate'][]]; export {};