import type { Express } from "express";
import type { LaunchServerStatus } from "#ai-utils";
import type { DevToolsSys } from "../../types";
export declare const BUILDER_ENDPOINT_PREFIX = "/_builder.io";
export declare const BUILDER_API_ENDPOINT_PREFIX: string;
/**
 * Endpoints that are not authenticated because they are used by the fly.io health check.
 */
export declare const NON_AUTHENTICATED_ENDPOINTS: {
    readonly STATUS: "/status";
    readonly PROXY_STATUS: "/proxy-status";
    readonly STATUS_V2: "/status-v2";
    readonly INIT_LOGS: "/init-logs";
    readonly TUNNEL_STATUS: "/tunnel/status";
};
export declare const configureServer: ({ sys, app, validBuilderPrivateKey, authenticateProxy, isLocal, sharedState, }: {
    sys: DevToolsSys;
    app: Express;
    validBuilderPrivateKey: string | undefined;
    authenticateProxy: boolean;
    isLocal: boolean;
    sharedState: LaunchServerStatus;
}) => void;
