/**
 * Get the absolute path to the web UI assets directory
 */
export declare function getWebUIPath(): string;
/**
 * Get the absolute path to the index.html file
 */
export declare function getIndexPath(): string;
/**
 * Check if web UI assets are available
 */
export declare function isWebUIAvailable(): boolean;
export interface ServeWebUIOptions {
    /**
     * URL prefix for the web UI (default: '/ui')
     * @example '/ui', '/admin', '/dashboard'
     */
    prefix?: string;
    /**
     * Whether to redirect root to prefix (default: false)
     * @example If true, '/' → '/ui'
     */
    redirectRoot?: boolean;
    /**
     * Custom 404 handler
     */
    onNotFound?: (req: Request) => Response | Promise<Response> | null;
    /**
     * API server URL for the web UI to connect to
     * If not provided, will attempt to auto-detect from the request
     * or fall back to localhost:9100
     * @example 'http://localhost:3000', 'https://api.example.com'
     */
    serverUrl?: string;
}
export declare function serveWebUI(options?: ServeWebUIOptions): (req: Request) => Promise<Response | null>;
declare const _default: {
    getWebUIPath: typeof getWebUIPath;
    getIndexPath: typeof getIndexPath;
    isWebUIAvailable: typeof isWebUIAvailable;
    serveWebUI: typeof serveWebUI;
};
export default _default;
//# sourceMappingURL=index.d.ts.map