import { DynamicModule, LoggerService, type INestMicroservice } from "@nestjs/common";
import type { McpStrategy } from "@rekog/mcp-nest";
import { type Cli } from "../../cli/cli-output.js";
export type CreateMicroserviceFn = (module: DynamicModule, options: {
    strategy: McpStrategy;
    logger: LoggerService;
}) => Promise<INestMicroservice>;
export declare function deriveDashboardUrl(tunnelUrl: string): string;
export declare function handleTunnel(cli: Cli, tunnelUrl?: string, debug?: boolean, readOnly?: boolean, ankiConnect?: string, createMicroservice?: CreateMicroserviceFn): Promise<void>;
