/** * Creates a RegExp that matches the pattern with optional whitespace padding. * The pattern is wrapped with \s* on both sides to allow for leading/trailing whitespace. * * @param strings - Template string array from tagged template literal * @param vals - Array of values to interpolate * @returns A RegExp that matches the pattern with optional whitespace * * @example * const pattern = padded`(?.*)`; // matches with all spaces (\s*) before and after */ export declare function padded(strings: TemplateStringsArray, ...vals: Array): RegExp; /** Alias for the padded function - provides a shorter name for convenience */ export declare function p(strings: TemplateStringsArray, ...vals: Array): RegExp; /** * Creates a RegExp that matches a complete line using multiline mode. * Uses ^ and $ anchors with the multiline flag to match start/end of lines. * Warning: This does not include padding - use paddedmline for padded matching. * * @param strings - Template string array from tagged template literal * @param vals - Array of values to interpolate * @returns A RegExp that matches a complete line in multiline mode * * @example * const pattern = mline`hello`; // /^hello$/m */ export declare function mline(strings: TemplateStringsArray, ...vals: Array): RegExp; /** * Creates a RegExp that matches a padded line using multiline mode. * Combines mline and padded functionality for flexible line matching. * * @example * const pattern = paddedmline`hello`; */ export declare function paddedmline(strings: TemplateStringsArray, ...vals: Array): RegExp; /** * Creates a RegExp that matches a complete line without using multiline mode. * Uses startLine and endLine patterns instead of ^ and $ anchors. * * @param strings - Template string array from tagged template literal * @param vals - Array of values to interpolate * @returns A RegExp that matches a complete line without multiline mode * * @example * const pattern = line`hello`; // Uses startLine and endLine patterns */ export declare function line(strings: TemplateStringsArray, ...vals: Array): RegExp; /** * Creates a RegExp that matches a padded line without using multiline mode. * Combines line and padded functionality for flexible line matching. * * @example * const pattern = paddedline`hello`; // Padded version of line matching */ export declare function paddedline(strings: TemplateStringsArray, ...vals: Array): RegExp; /** * Creates a RegExp that captures content before and after a separator pattern. * Uses named groups to capture the before, match, and after portions. * * @param strings - Template string array from tagged template literal * @param vals - Array of values to interpolate * @returns A RegExp with named groups for before, match, and after content * * @example * const pattern = separator`;`; // Captures content around semicolons * // Groups: before, match, after */ export declare function separator(strings: TemplateStringsArray, ...vals: Array): RegExp; export declare function gseparator(strings: TemplateStringsArray, ...vals: Array): RegExp; /** Alias for the separator function - provides a shorter name for convenience */ export declare function sep(strings: TemplateStringsArray, ...vals: Array): RegExp; export declare function gsep(strings: TemplateStringsArray, ...vals: Array): RegExp; //# sourceMappingURL=templates.d.ts.map