import type { HASTHtmlNode, Middleware } from "../types.js";
import { type IslandModule } from "../island.js";
export interface IslandMiddlewareOptions {
    islandsDir: string;
    modules: Record<string, IslandModule>;
}
export declare function createIslandMiddleware(options: IslandMiddlewareOptions): Middleware<Request, HASTHtmlNode>;
//# sourceMappingURL=island-middleware.d.ts.map