/**
 * Static Files Abstraction Layer
 * Dual compatibility: Node.js (Express) + Cloudflare Workers (Assets Fetcher)
 */
import express, { Request, Response } from 'express';
import { Config, UnauthorizedConfig } from '../types';
/**
 * Serve static directory with dual compatibility
 * @param config - App configuration
 * @param staticPath - Path to static directory
 */
export declare function serveStatic(config: Config | UnauthorizedConfig, staticPath: string): ((req: Request, res: Response, next: Function) => Promise<void>) | import("serve-static").RequestHandler<express.Response<any, Record<string, any>>>;
/**
 * Serve single file (e.g., logo.png, icons/star.svg) with dual compatibility
 * @param config - App configuration
 * @param filePath - Path to file
 */
export declare function serveFile(config: Config | UnauthorizedConfig, filePath: string): (req: Request, res: Response, next: Function) => Promise<void>;
