UNPKG

432 BTypeScriptView Raw
1import { MatchResult } from "@atomist/automation-client";
2/**
3 * Part of a file we can work around
4 */
5export interface BoundedElement {
6 /**
7 * Value of whole element
8 */
9 value: string;
10 /**
11 * Offset within the file
12 */
13 offset: number;
14 /**
15 * Save point to insert after this element
16 */
17 insertAfter: number;
18}
19export declare function toBoundedElement(m: MatchResult): BoundedElement;