1 | /// <reference types="node" />
|
2 | import { IncomingMessage, ServerResponse } from 'http';
|
3 | import { UrlWithParsedQuery } from 'url';
|
4 | import { NextConfig } from '../../next-server/server/config-shared';
|
5 | import Server from './next-server';
|
6 | export declare function imageOptimizer(server: Server, req: IncomingMessage, res: ServerResponse, parsedUrl: UrlWithParsedQuery, nextConfig: NextConfig, distDir: string): Promise<{
|
7 | finished: boolean;
|
8 | }>;
|
9 | export declare function getMaxAge(str: string | null): number;
|