/** * github-token.ts — resolve the GitHub access token to send to hula-server when * launching a sandbox or initiating remote planning. * * `launchSingleRepo` (src/commands/launch.ts) resolves the token as * `(await loadGitHubToken())?.access_token || process.env.GITHUB_TOKEN`. That * exact resolution is factored here as a single string-returning helper so the * remote-planning credential bundle (src/utils/planning-credentials.ts) can * reuse it verbatim instead of duplicating the precedence. * * `loadGitHubToken` already lives in src/commands/login.ts and is independently * importable, so this is a thin adapter — it does NOT change how `hula launch` * resolves its token. */ /** * Resolve the GitHub token string, or `''` when none is available. Mirrors the * launch precedence: the OAuth token stored by `hula login` first, then the * `GITHUB_TOKEN` environment variable. Never throws. */ export declare function loadGitHubToken(): Promise; //# sourceMappingURL=github-token.d.ts.map