bpms_site/.svn/pristine/74/7413f8173a806343f1cda13ed4345b0509bc643f.svn-base
2025-11-02 16:38:49 +03:30

8 lines
458 B
Plaintext

/// <reference types="node" />
/// <reference types="send" />
import { IncomingMessage, ServerResponse } from 'http';
import send from 'next/dist/compiled/send';
export declare function serveStatic(req: IncomingMessage, res: ServerResponse, path: string, opts?: Parameters<typeof send>[2]): Promise<void>;
export declare function getContentType(extWithoutDot: string): string | null;
export declare function getExtension(contentType: string): string | null;