import type { OnigurumaAst } from './parser/parse.js';
type ToOnigurumaAstOptions = {
    flags?: string;
    rules?: {
        captureGroup?: boolean;
        singleline?: boolean;
    };
};
/**
Returns an Oniguruma AST generated from an Oniguruma pattern.
*/
declare function toOnigurumaAst(pattern: string, options?: ToOnigurumaAstOptions): OnigurumaAst;
export { type ToOnigurumaAstOptions, toOnigurumaAst, };
//# sourceMappingURL=index.d.ts.map