/// import { IncomingMessage, ServerResponse } from 'node:http'; import './polyfillWithResolvers.js'; export interface SendFileOptions { allowDotfiles?: boolean; root?: string; disableAcceptRanges?: boolean; disableLastModified?: boolean; etag?: 'disabled' | 'strong' | 'weak'; disableCacheControl?: boolean; maxAge?: number; immutable?: boolean; end?: number; start?: number; } export declare function sendFileTrusted(req: IncomingMessage, res: ServerResponse, pathname: string, // plain path, not URI-encoded { root, allowDotfiles, start, end, disableAcceptRanges, disableLastModified, etag, disableCacheControl, maxAge, // 1 year immutable, }?: SendFileOptions): Promise;