import type { MatchRuleResult, NCaptures, Rule } from '../grammarNormalized.js';
import type { MatchResult, TokenizedText } from '../types.js';
/**
 * Apply the scopes to the line
 * @param line - line of text
 * @param matchRuleResult - the matching rule
 */
export declare function applyCaptureToBeginOrMatch(matchRuleResult: MatchRuleResult): TokenizedText[];
/**
 * Apply the scopes to the line
 * @param line - line of text
 * @param rule - the matching rule
 */
export declare function applyCaptureToEnd(rule: Rule, match: MatchResult): TokenizedText[];
/**
 * Apply the scopes to the line
 * @param line - line of text
 * @param rule - the matching rule
 */
export declare function applyCaptures(rule: Rule, match: MatchResult, captures: NCaptures | undefined): TokenizedText[];
//# sourceMappingURL=procMatchingRule.d.ts.map