import type { KittenRequest, KittenResponse } from '../types/index.ts'; export default class StaticRoute { filePath: string; basePath: string; pattern: string; method: string; /** Represents static routes. */ constructor(filePath: string, basePath: string); /** This is a simple static file; serve it as such. */ get handler(): ((request: KittenRequest, response: KittenResponse) => Promise) & { filePath?: string; }; }