mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2025-12-17 14:05:12 +00:00
11 lines
532 B
TypeScript
11 lines
532 B
TypeScript
/**
|
|
Remove `(?:)` token separators (most likely added by flag x) in cases where it's safe to do so.
|
|
@param {string} expression
|
|
@returns {import('./regex.js').PluginResult}
|
|
*/
|
|
export function clean(expression: string): import("./regex.js").PluginResult;
|
|
export function flagXPreprocessor(value: import("./utils.js").InterpolatedValue, runningContext: import("./utils.js").RunningContext, options: Required<import("./utils.js").RegexTagOptions>): {
|
|
transformed: string;
|
|
runningContext: import("./utils.js").RunningContext;
|
|
};
|