/** Every line `init` inserts into one of your files carries this token, so `remove` can take exactly those lines back out. */ export declare const MARK = "blazeresolver:managed"; /** Inserts `line` after the zero-based line `index`, keeping the file's line endings. Everything else is untouched. */ export declare function insertAfter(text: string, index: number, line: string): string; export declare function insertBefore(text: string, index: number, line: string): string; /** * Inserts `insertion` in the middle of a line, just before the first `needle`, for lines that also hold your own code * (`{children}`). The insertion is fenced by comments so `remove` can cut out exactly it. */ export declare function insertInline(text: string, index: number, needle: string, insertion: string, style: 'jsx' | 'html'): string; /** Removes everything `init` inserted: whole marked lines, and fenced inline insertions. Other text comes back byte for byte. */ export declare function stripManaged(text: string): string; export declare const hasManaged: (text: string) => boolean; /** Index of the last line that ends a top-level import (or require), or -1. Handles multi-line imports. */ export declare function lastImportLine(text: string): number; export declare const indentOf: (line: string) => string; //# sourceMappingURL=edit.d.ts.map