UNPKG

@paroicms/server

Version:
14 lines (13 loc) 830 B
import type { ResizeRule } from "@paroicms/public-anywhere-lib"; import { type PaHttpContext } from "@paroicms/public-server-lib"; import type { SiteContext } from "../../site-context/site-context.types.js"; export declare function serveFilecontroller(siteContext: SiteContext, httpContext: PaHttpContext, routeParams: Record<string, string | undefined>): Promise<void>; export declare function serveCacheImageController(siteContext: SiteContext, httpContext: PaHttpContext, routeParams: Record<string, string | undefined>): Promise<void>; export declare function serveUnversionedImage(siteContext: SiteContext, httpContext: PaHttpContext, options: { mediaId: string; mediaType: string; ownerHandle: string; isHandleReusable: boolean; resizeRule: ResizeRule; ensureUrlFilename?: string; }): Promise<void>;