/** * FURI - Fast Uniform Resource Identifier. * * The Fast and Furious Node.js Router. * Copyright(c) 2016, 2025 Rajinder Yadav. * * Labs DevMentor.org Corp. * This code is released as-is without warranty under the "GNU GENERAL PUBLIC LICENSE". */ import { Server } from 'node:http'; import { FuriRouter } from './furi-router.js'; import { FuriConfig, MapOf } from './types.js'; import { StoreState } from './state.js'; export * from './types.js'; export * from './application-context.js'; export * from './furi-router.js'; /** * Router Class, matches URI for fast dispatch to handler. */ export declare class Furi extends FuriRouter { static readonly appStore: StoreState; protected server: Server | null; protected properties: MapOf; private readonly furiConfig; constructor(); /** * Class static method. Create instance of Router object. * * @returns Instance of class Furi. */ static create(): Furi; static router(): FuriRouter; /** * Get Router API version. * * @returns API version as a string. */ static getApiVersion(): string; /** * Start server with specified configuration. * * @param serverConfig Configuration object for the server. * @returns Instance of http.Server. */ listen(serverConfig: FuriConfig): Server; /** * Starts the Furi server with default or provided configuration. * * @returns Instance of http.Server. */ start(_callback?: () => void): Server; /** * Startup message based on current server configuration. * * @returns Server configuration string. */ private getServerStartupMessage; } //# sourceMappingURL=furi.d.ts.map