import type * as Stuntman from '@stuntman/shared'; import { Express as ExpressServer, NextFunction, Request, Response } from 'express'; import http from 'http'; import { LRUCache } from 'lru-cache'; type ApiOptions = Stuntman.ApiConfig & { mockUuid: string; }; export declare class API { protected options: Required>; protected webGuiOptions: Stuntman.WebGuiConfig; protected apiApp: ExpressServer | null; trafficStore: LRUCache; server: http.Server | null; constructor(options: ApiOptions, webGuiOptions?: Stuntman.WebGuiConfig); private auth; protected authReadOnly(req: Request, _res: Response, next: NextFunction): void; protected authReadWrite(req: Request, _res: Response, next: NextFunction): void; private initApi; private initWebGui; start(): void; stop(): Promise; } export {}; //# sourceMappingURL=api.d.ts.map