/** * Unified entry point for Better Notion MCP * * TRANSPORT_MODE selects the transport: * - "stdio" (default): Local mode with NOTION_TOKEN env var, MCP SDK * StdioServerTransport directly (no daemon proxy hop). See spec * 2026-04-30-multi-mode-stdio-http-architecture.md Task 3.1. * - "http": Remote mode with OAuth 2.1 via Notion */ /** * Checks if the current module is the main entry point. */ export declare function isMain(importMetaUrl: string): boolean; /** * Validates and returns the transport mode from the environment. */ export declare function getTransportMode(env?: NodeJS.ProcessEnv, argv?: string[]): string; /** * Dynamically imports and starts the server for the specified mode. */ export declare function startServer(mode: string): Promise; export declare const mode: string; /** * Bootstrap function to start the server with error handling. */ export declare function bootstrap(selectedMode?: string): Promise; //# sourceMappingURL=main.d.ts.map