gatsby-plugin-utils
Version:
Gatsby utils that help creating plugins
11 lines (10 loc) • 457 B
TypeScript
import type { ImageCdnSourceImage, ImageCdnTransformArgs } from "../types";
import type { Store } from "gatsby";
export declare enum ImageCDNUrlKeys {
URL = "u",
ENCRYPTED_URL = "eu",
ARGS = "a",
CONTENT_DIGEST = "cd"
}
export declare function generateFileUrl(source: ImageCdnSourceImage, store?: Store): string;
export declare function generateImageUrl(source: ImageCdnSourceImage, imageArgs: ImageCdnTransformArgs, store?: Store): string;