import { type Express } from 'express';
export declare const HOSTED_WEB_APP_URL: string;
export type WebDashboardMode = 'local' | 'hosted' | 'off';
export interface WebDashboardMountOptions {
    mode?: WebDashboardMode;
    webAppPath?: string;
}
export interface WebDashboardMount {
    mode: WebDashboardMode;
    served: boolean;
    hostedUrl: string;
    localPath?: string;
    reason?: string;
}
export interface WebDashboardInfo {
    mode: WebDashboardMode;
    served: boolean;
    localUrl: string | null;
    hostedUrl: string;
    apiBaseUrl: string;
    reason?: string;
}
export declare const normalizeWebDashboardMode: (raw: string | undefined) => WebDashboardMode;
export declare const getBundledWebAppCandidates: () => string[];
export declare const hasWebDashboardIndex: (candidate: string) => boolean;
export declare const resolveBundledWebAppPath: (candidates?: readonly string[]) => string | null;
export declare const mountWebDashboard: (app: Express, options?: WebDashboardMountOptions) => WebDashboardMount;
export declare const getWebDashboardInfo: (mount: WebDashboardMount, apiBaseUrl: string) => WebDashboardInfo;
