import { Scope } from '../components/Scope';
/**
 * The static plugin handles serving static files from the respective application directory.
 * It uses the default `EntryHandler` configured via `files` and `urlPath` to watch for file changes and updates the in-memory map of static files.
 *
 * Additionally, it supports additional options:
 * - `index`: If enabled, it will serve `index.html` files from directories.
 * - `extensions`: An array of file extensions to try when serving files. If a file is not found, it will try appending each extension in order. For example, if set to `['html'], and the request is `/page`, it will try `/page.html` if `/page` is not found.
 * - `fallthrough`: If true, it will fall through to the next handler if the file is not found. If false, it will return a 404 error.
 * - `notFound`: Can be specified as a string to serve a custom 404 page, or an object with `file` and `statusCode` properties to serve a custom file with a specific status code. This is useful for hosting SPAs that use client-side routing. Make sure to set `fallthrough` to `false`!
 *
 * This plugin dynamically updates its behavior based on the current configuration file. Users can make updates and immediately see the changes reflect in the next request.
 *
 * Updates to the `files` or `urlPath` options will clear the in-memory maps and allow them to regenerate based on the new configuration (since the default EntryHandler will regenerate anyways).
 */
export declare function handleApplication(scope: Scope): void;
