/**
 * Load testing script for serverless rendering pipeline
 * Run with: ts-node src/core/services/__tests__/load-test.ts
 *
 * Tests:
 * - 1000 concurrent requests with cache hits
 * - 100 concurrent requests with cache misses
 * - Memory profiling under load
 * - Throughput measurement
 */
interface LoadTestResult {
    totalRequests: number;
    successfulRequests: number;
    failedRequests: number;
    totalTime: number;
    avgTime: number;
    minTime: number;
    maxTime: number;
    p50: number;
    p95: number;
    p99: number;
    requestsPerSecond: number;
}
interface SeoMetaData {
    route: string;
    title: string;
    description: string;
    keywords: string[];
    ogTitle: string;
    ogDescription: string;
    ogImage: string;
    twitterTitle: string;
    twitterDescription: string;
    twitterImage: string;
    canonicalUrl: string;
    robots: string;
}
interface RuntimeWebResponse {
    statusCode: number;
    bodyHtml: string;
    seo: SeoMetaData;
}
declare class MockSeoProvider {
    private cache;
    getSeoForRoute(route: string): Promise<SeoMetaData>;
    clearCache(): void;
}
declare class MockHtmlTemplateService {
    renderHeadTags(seo: SeoMetaData): string;
    renderHtmlDocument(response: RuntimeWebResponse, mainJsUrl: string, template: string): string;
    private escapeHtml;
}
declare function runLoadTest(name: string, concurrency: number, routes: string[], seoProvider: MockSeoProvider, templateService: MockHtmlTemplateService): Promise<LoadTestResult>;
export { runLoadTest, MockSeoProvider, MockHtmlTemplateService };
