/** * Mutate a tweet (and any quoted tweet) in place so every raw CDN image URL * is rewritten to route through the site's `/embed/x-image` proxy. When a * `secret` is provided, URLs are HMAC-signed and pass `withSigning` without a * page token. * * Clone the input first if it came from a shared cache — this function does * not copy. */ export declare function rewriteTweetImages(tweet: any, imagePath: string, secret?: string): void; /** * Mutate a Bluesky post in place so every CDN image URL routes through the * site's `/embed/bluesky-image` proxy. Covers author avatar, embedded images * (thumb + fullsize), and external embed thumbnails. * * Clone the input first if it came from a shared cache — this function does * not copy. */ export declare function rewriteBlueskyPostImages(post: any, imagePath: string, secret?: string): void;