//#region src/getProjectRoot.d.ts /** * Get the path to the project root when deploying to GitHub Pages. * Your action should set `REPO_NAME` and `PR_NUMBER` environment variables at the step you need * (most likely when building the project). * @returns {string} The path to the project directory from the domain root if working in a GitHub CI environment. If not, returns `/`. */ declare function getProjectRoot(): string; //#endregion //#region src/setGitHubEnvVar.d.ts /** * Sets an environment variable in the GitHub Actions environment file. * @async * @param {string} varName - The name of the environment variable to set. * @param {string} varValue - The value of the environment variable to set. * @returns {Promise} A promise that resolves when the environment variable has been set. * @throws {Error} If the function is called outside of a GitHub Actions environment or if the GITHUB_ENV environment variable is not set. */ declare function setGitHubEnvVar(varName: string, varValue: string): Promise; //#endregion export { getProjectRoot, setGitHubEnvVar };