@sentzunhat/zacatl
Version:
A modular, high-performance TypeScript microservice framework for Node.js, featuring layered architecture, dependency injection, and robust validation for building scalable APIs and distributed systems.
13 lines • 546 B
TypeScript
import type { ConfigServer } from '../server';
import { type PageServerPort, type StaticConfig } from './port';
export declare class PageServer {
private readonly config;
private readonly adapter;
constructor(config: ConfigServer, adapter: PageServerPort);
registerStaticFiles(config: StaticConfig): void;
registerSpaFallback(apiPrefix: string, staticDir: string): void;
register(server: unknown): Promise<void>;
configure(): Promise<void>;
getAdapter(): PageServerPort;
}
//# sourceMappingURL=page-server.d.ts.map