import type { HttpRequest } from './request';
import type { HttpResponse } from './response';
export interface StaticFilesOptions {
    directory?: string;
    index?: string;
    spaFallback?: string;
}
export interface ResolvedStaticFilesOptions {
    directory: string;
    index: string;
    spaFallback: string;
}
export declare function resolveStaticFilesOptions(options: boolean | StaticFilesOptions | undefined): ResolvedStaticFilesOptions | undefined;
export declare function serveStaticFile(request: HttpRequest, response: HttpResponse, options: ResolvedStaticFilesOptions): Promise<HttpResponse | undefined>;
//# sourceMappingURL=static-files.d.ts.map