import type { TSESTree } from '@typescript-eslint/types';
import type { ReportFixFunction, RuleListener } from '@typescript-eslint/utils/ts-eslint';
export interface Options {
    pattern?: RegExp['source'];
    flags?: RegExp['flags'];
    only?: 'code' | 'comment' | undefined;
}
declare const _default: import("../../rule.ts").RuleModuleWithName<"illegal", [Options], {
    description: string;
}, RuleListener>;
export default _default;
export declare function makeProgramListener(pattern: RegExp, onReport: (node: TSESTree.Token, kind: string) => void): RuleListener;
export declare function getFixer(token: TSESTree.Token, pattern: RegExp): ReportFixFunction | undefined;
export declare function escape(input: string, pattern: RegExp): string;
//# sourceMappingURL=specific-set.d.ts.map