export interface EnsureGitignoreResult { /** Absolute path to the .gitignore that was checked/modified. Null if no repo found. */ gitignorePath: string | null; /** True when we appended .pseolint/. False when already ignored, not a repo, or skipped. */ modified: boolean; /** Short human-readable reason, for verbose logging. */ reason: "appended" | "already-ignored" | "no-repo" | "no-gitignore-file" | "error"; } /** * Ensure the nearest git repo's root `.gitignore` excludes `.pseolint/`. No-op * if CWD isn't inside a git repo, or the file already ignores the folder. * * Never creates `.gitignore` from scratch — only appends when the file already * exists. (A repo with no `.gitignore` is often intentional; we don't want to * surprise users with a new tracked file.) */ export declare function ensurePseolintGitignored(cwd: string): Promise; //# sourceMappingURL=ensure-gitignore.d.ts.map