import { Logger } from '@n8n/backend-common';
import { GlobalConfig } from '@n8n/config';
import { DbConnection } from '@n8n/db';
import express from 'express';
import type { Server } from 'http';
import { ExternalHooks } from './external-hooks';
export declare abstract class AbstractServer {
    static readonly botAllowedPaths: string[];
    protected logger: Logger;
    protected server: Server;
    readonly app: express.Application;
    protected externalHooks: ExternalHooks;
    protected globalConfig: GlobalConfig;
    protected dbConnection: DbConnection;
    protected sslKey: string;
    protected sslCert: string;
    protected restEndpoint: string;
    protected endpointForm: string;
    protected endpointFormTest: string;
    protected endpointFormWaiting: string;
    protected endpointWebhook: string;
    protected endpointWebhookTest: string;
    protected endpointWebhookWaiting: string;
    protected endpointMcp: string;
    protected endpointMcpTest: string;
    protected endpointHealth: string;
    protected webhooksEnabled: boolean;
    protected testWebhooksEnabled: boolean;
    private fullyReady;
    constructor();
    configure(): Promise<void>;
    private setupErrorHandlers;
    private setupCommonMiddlewares;
    private setupDevMiddlewares;
    protected setupPushServer(): void;
    markAsReady(): void;
    private setupHealthCheck;
    init(): Promise<void>;
    start(): Promise<void>;
    onShutdown(): void;
}
