#!/usr/bin/env node /** * CLI entry point * * Why: Reads env vars, initializes server, handles errors gracefully. */ import 'dotenv/config'; /** * Fetch OAuth Authorization Server Metadata (RFC 8414) * Returns authorization_endpoint and token_endpoint */ export declare function fetchOAuthMetadata(issuerUrl: string): Promise<{ authorization_endpoint: string; token_endpoint: string; } | null>; /** * Derive OAuth issuer from API base URL * Example: https://www.gitlab.com/api/v4 -> https://www.gitlab.com */ export declare function deriveIssuerFromBaseUrl(baseUrl: string): string | null; export declare function resolveHttpHostPort(): { host: string; port: number; }; export declare function getCliHelpText(): string; export declare function getCliVersion(): string; export declare function main(): Promise; //# sourceMappingURL=index.d.ts.map