import type { Forge } from "./forge.js"; import type { Env } from "../ci/env.js"; export interface GithubForgeOptions { token: string; /** `GITHUB_API_URL`, defaults to the public API. */ baseUrl?: string | undefined; } /** `Forge` backed by the GitHub REST API. */ export declare const githubForge: (opts: GithubForgeOptions) => Forge; /** Forge token from the environment: `GITHUB_TOKEN`. */ export declare const forgeToken: (env: Env) => string | undefined; /** GitHub forge; `GITHUB_API_URL` applies only within a GitHub Actions event. */ export declare const defaultForge: (env: Env, token: string) => Forge;