Files
oh-my-opencode/dist/tools/hashline-edit/normalize-edits.d.ts
T
2026-03-14 04:56:50 +00:00

11 lines
341 B
TypeScript

import type { HashlineEdit } from "./types";
type HashlineToolOp = "replace" | "append" | "prepend";
export interface RawHashlineEdit {
op?: HashlineToolOp;
pos?: string;
end?: string;
lines?: string | string[] | null;
}
export declare function normalizeHashlineEdits(rawEdits: RawHashlineEdit[]): HashlineEdit[];
export {};