export interface RunningMcpServer { stop(): Promise; } export declare function registerShutdownHandlers(stop: () => Promise): () => void; export declare function startMcpServer(): Promise; export declare const main: () => Promise; export declare const runCli: () => Promise; export declare const isDirectExecution: (moduleUrl: string, entrypoint?: string) => boolean;