@pierre/diffs
Version:
25 lines (24 loc) • 622 B
TypeScript
import { Element } from "../node_modules/.pnpm/@types_hast@3.0.4/node_modules/@types/hast/index.js";
import { HunkSeparators } from "../types.js";
//#region src/utils/createSeparator.d.ts
interface CreateSeparatorProps {
type: HunkSeparators;
content?: string;
expandIndex?: number;
chunked?: boolean;
slotName?: string;
isFirstHunk: boolean;
isLastHunk: boolean;
}
declare function createSeparator({
type,
content,
expandIndex,
chunked,
slotName,
isFirstHunk,
isLastHunk
}: CreateSeparatorProps): Element;
//#endregion
export { createSeparator };
//# sourceMappingURL=createSeparator.d.ts.map