import { Controller, ControllerResponse } from './controller-contract'; import { cortinaBlocksGetter } from '../cortina/get-cortina-blocks'; import { ResourceFileNames } from '../pages/get-resource-filenames'; import { BuildInfo, PackageInfo } from '../pages/about-page'; export interface CortinaInput { lang: 'sv' | 'en'; baseUrl: string; url: string; } type ErrorControllerInput = CortinaInput & { error: any; }; export declare class ErrorController implements Controller { private uriPathPrefix; private getCortinaBlocks; private resourceFileNames; constructor(uriPathPrefix: string, getCortinaBlocks: cortinaBlocksGetter, resourceFileNames: ResourceFileNames); handle(input: ErrorControllerInput): Promise; } export declare class AboutController implements Controller { private packageInfo; private buildInfo; private uriPathPrefix; constructor(packageInfo: PackageInfo, buildInfo: BuildInfo, uriPathPrefix: string); handle(): Promise; } export interface MonitorResult { ok: boolean; message?: string; } export interface Monitor { name: string; optional?: boolean; performCheck(): Promise; } export declare class MonitorController implements Controller { private monitorCheckers; constructor(monitorCheckers: Monitor[]); private static performCheck; private static resultToString; handle(): Promise; } export {};