export declare function replaceDirective(source: string, list: Array): string;