type PhotonOpts = { width?: number; height?: number; hostname?: string; host?: string; secure?: boolean; zoom?: number; resize?: string; fit?: string; letterboxing?: string; removeLetterBoxing?: boolean; }; /** * Returns a "photon" URL from the given image URL. * * Defaults to returning an `https:` secure URL from Photon. * Pass `secure: false` to get `http:`. * * Photon documentation: http://developer.wordpress.com/docs/photon/ * @param imageUrl - the URL of the image to run through Photon * @param [opts] - optional options object with Photon options * @returns The generated Photon URL string */ export default function photon(imageUrl: string, opts?: PhotonOpts): string | null; export {}; //# sourceMappingURL=index.d.ts.map