export class RegionProvider { /** * Constructor * * @param {ScafflaterOptions} options - Scafflater Options */ constructor(options: typeof ScafflaterOptions); options: typeof ScafflaterOptions; /** * Get regions from a string * * @param {string} str - String to be analyzed * @returns {Region[]} A list of regions */ getRegions(str: string): Region[]; /** * Appends region to a content * * @param {Region} region - The Region * @param {string} content - The Region Content * @returns {Promise} The content with the region appended */ appendRegion(region: Region, content: string): Promise; } export class RegionTag { static unknown(): RegionTag; constructor(name: any, start: any, end: any, type: any); name: any; regionTagType: any; startPosition: any; endPosition: any; } export class Region { constructor(parentRegion: any, startRegionTag: any, endRegionTag?: RegionTag, content?: any); get contentStart(): any; get contentEnd(): number; get name(): any; parentRegion: any; startRegionTag: any; endRegionTag: RegionTag; content: any; } export namespace RegionTagType { const Unknown: number; const Start: number; const End: number; } import ScafflaterOptions = require("../../options");