import { Rowan, Processor } from "rowan"; import { Context } from "./context"; import { WireServer } from "@viae/core"; import { Via } from "./via"; import { Log } from "./log"; export declare class Viae extends Rowan { private _connections; private _ev; private _before; constructor(server: WireServer, opts?: { log?: Log; middleware?: Processor[]; }); on(event: "connection", cb: (connection: Via) => void): void; before(processor: Processor): this; static Log: Log; static extractRoutes(viae: Viae): { method: string; path: string; }[]; }