UNPKG

@bitpatty/imgproxy-url-builder

Version:

A TypeScript helper library for building imgproxy URLs

17 lines (16 loc) 679 B
/** * The timestamp of the frame in seconds */ type VideoThumbnailSecondOptions = number; /** * Redefines the second used for the thumbnail. * * See https://github.com/imgproxy/imgproxy/blob/6f292443eafb2e39f9252175b61faa6b38105a7c/docs/generating_the_url.md#video-thumbnail-second-idvideo-thumbnail-second for the imgproxy documentation * * @param second The timestamp of the frame in seconds * that will be used for a thumbnail. * @returns The video thumbnail second param string */ declare const videoThumbnailSecond: (second: VideoThumbnailSecondOptions) => string; export default videoThumbnailSecond; export { VideoThumbnailSecondOptions };