import { Effect, FileSystem, Path } from "effect"; import { Command } from "effect/unstable/cli"; import { GitRemoveFailed, HistoryRewriteFailed, HistoryRewriteToolMissing, VendoredRepoNotFound } from "../domain/errors.ts"; import { ProjectFiles } from "../project/service.ts"; export interface RemoveCommandParams { readonly dangerouslyRewriteHistory: boolean; readonly name: string; } export declare const normalizeHistoryRewritePath: (prefix: string) => string; export declare const gitFilterRepoRemovePathArgs: (prefix: string) => ReadonlyArray; export declare const removeImpl: ({ dangerouslyRewriteHistory, name }: RemoveCommandParams) => Effect.Effect; export declare const removeCmd: Command.Command<"remove", { readonly dangerouslyRewriteHistory: boolean; readonly name: string; }, {}, import("../domain/errors.ts").NotGitRepository | import("../domain/errors.ts").DirtyWorkingTree | VendoredRepoNotFound | GitRemoveFailed | HistoryRewriteToolMissing | HistoryRewriteFailed | (import("../domain/errors.ts").GitCommandFailed | import("../domain/errors.ts").InkRenderFailed | import("../domain/errors.ts").GitMetadataFailed | import("effect/PlatformError").PlatformError), import("../app/runtime.ts").RuntimeConfig | FileSystem.FileSystem | Path.Path | import("../services/git-metadata.ts").GitMetadata | import("../services/git.ts").Git | import("../services/local-state.ts").LocalState | ProjectFiles>; //# sourceMappingURL=remove.d.ts.map