import { Effect, FileSystem, Option, Path, type PlatformError } from "effect"; import { VENDOR_DIR } from "../domain/constants.ts"; export { VENDOR_DIR }; export declare const VENDOR_IGNORE_DIR = "vendor/"; export declare const VENDOR_GLOB = "vendor/**"; export declare const VENDOR_NEGATED_GLOB = "!vendor/**"; export type ToolIgnoreStatus = "absent" | "configured" | "missing" | "visible" | "unsupported"; export interface ToolIgnoreReport { readonly _tag: "ToolIgnoreReport"; readonly tool: string; readonly detected: boolean; readonly ignored: boolean; readonly status: ToolIgnoreStatus; readonly message: string; readonly configPath?: string; } export interface ToolIgnoreIntegration { readonly doctor: (cwd: string) => Effect.Effect; readonly refresh: (cwd: string) => Effect.Effect, PlatformError.PlatformError>; } export interface ToolFileContext { readonly fs: FileSystem.FileSystem; readonly path: Path.Path; } export declare const report: (params: Omit) => ToolIgnoreReport; export declare const firstExisting: ({ fs, path }: ToolFileContext, cwd: string, candidates: ReadonlyArray) => Effect.Effect, PlatformError.PlatformError, never>; export declare const packageHasDependency: ({ fs, path }: ToolFileContext, cwd: string, names: ReadonlyArray) => Effect.Effect; export declare const hasVendorPattern: (content: string, patterns?: ReadonlyArray) => boolean; export declare const mergeManagedIgnoreSection: ({ begin, content, end, lines }: { readonly begin: string; readonly content: string; readonly end: string; readonly lines: ReadonlyArray; }) => string; //# sourceMappingURL=common.d.ts.map