export interface IMatchHeader { readonly name: string; readonly match: { [key: string]: string; }; readonly caseSensitive: boolean; } export declare class MatchHeader implements IMatchHeader { /** * Matches if the header value contains the given value * @param header - the header to match. * @param ruleMatchName - the name of the rule match. * @param caseSensitive - whether the match should be case sensitive. * @returns the rule match */ static contains(header: string, ruleMatchName?: string, caseSensitive?: boolean): IMatchHeader; /** * Matches if the header value is exactly the given value * @param header - the header to match. * @param ruleMatchName - the name of the rule match. * @param caseSensitive - whether the match should be case sensitive. * @returns the rule match */ static exact(header: string, ruleMatchName?: string, caseSensitive?: boolean): IMatchHeader; /** * Matches if the header value starts with the given value * @param header - the header to match. * @param ruleMatchName - the name of the rule match. * @param caseSensitive - whether the match should be case sensitive. * @returns the rule match */ static prefix(header: string, ruleMatchName?: string, caseSensitive?: boolean): IMatchHeader; readonly name: string; readonly match: { [key: string]: string; }; readonly caseSensitive: boolean; constructor(name: string, match: { [key: string]: string; }, caseSensitive: boolean); }