import { type Context, type Filter } from "@yaebal/core"; export interface TextMatchOptions { /** compare case-insensitively. */ ignoreCase?: boolean; } /** message has non-empty text (or caption); narrows `ctx.text`. */ export declare const text: Filter; /** text equals `value`. */ export declare function equals(value: string, options?: TextMatchOptions): Filter; /** text contains `value`. */ export declare function contains(value: string, options?: TextMatchOptions): Filter; /** text starts with `value`. */ export declare function startsWith(value: string, options?: TextMatchOptions): Filter; /** text ends with `value`. */ export declare function endsWith(value: string, options?: TextMatchOptions): Filter; /** text matches `re`; stages `ctx.match`. safe with shared `g`/`y` regexes. */ export declare function regex(re: RegExp): Filter; //# sourceMappingURL=text.d.ts.map