UNPKG

boats

Version:

Beautiful Open / Async Template System - Write less yaml with BOATS and Nunjucks.

17 lines (16 loc) 686 B
import 'ts-replace-all'; import { Paths } from './interfaces/BoatsRc'; export declare class PathInjector { readonly paths: Paths; readonly sourceFolderInWorkspace?: string; keyPatterns: string[]; injectMixin: (target: string) => [string, boolean]; injectRefs: (target: string, relativeRoot: string) => string; mixinExpressions: RegExp[]; refExpressions: RegExp[]; constructor(paths: Paths, sourceFolderInWorkspace?: string); enrichForSpecialCases(paths: Paths, sourceRoot?: string): Paths; skip(target: string): [string, boolean]; doInject(target: string): [string, boolean]; doInjectRefs(target: string, relativeRoot: string): string; }