rosaenlg-filter
Version:
Filtering feature of RosaeNLG
17 lines (16 loc) • 463 B
TypeScript
/**
* @license
* Copyright 2019 Ludan Stoecklé
* SPDX-License-Identifier: Apache-2.0
*/
interface Mappings {
[key: string]: string;
}
export declare class ProtectMapping {
protectedString: string;
mappings: Mappings;
constructor(protectedString: string, mappings: Mappings);
}
export declare function unprotect(toUnprotect: string, mappings: Mappings): string;
export declare function protectBlocks(input: string): ProtectMapping;
export {};