import type { OnigurumaAst } from '../parser/parse.js';
type OnigurumaRegex = {
    pattern: string;
    flags: string;
};
/**
Generates an Oniguruma `pattern` and `flags` from an `OnigurumaAst`.
*/
declare function generate(ast: OnigurumaAst): OnigurumaRegex;
export { type OnigurumaRegex, generate, };
//# sourceMappingURL=generate.d.ts.map