//#region gitignore.d.ts /** * Appends to a file that follows a .gitignore-like structure any missing * Wrangler-related entries (`.wrangler`, `.dev.vars*`, `.env*`, and their * negated example patterns). * * Creates the file if it does not already exist. * * @param filePath Absolute or relative path to the ignore file to update. */ declare function maybeAppendWranglerToGitIgnoreLikeFile(filePath: string): void; /** * Appends any missing Wrangler-related entries to the project's `.gitignore` file. * * Bails out only when *neither* a `.gitignore` file nor a `.git` directory exists, * which indicates the project is likely not targeting/using git. If either one is * present the entries are appended (creating `.gitignore` if needed). * * @param projectPath Root directory of the project. */ declare function maybeAppendWranglerToGitIgnore(projectPath: string): void; //#endregion export { maybeAppendWranglerToGitIgnore, maybeAppendWranglerToGitIgnoreLikeFile };