import type { ChildContext, RuleContext } from './types.js';
export type * from './types.js';
export * from './utils.js';
export declare const setRuleContext: <T = void>(nextRuleContext: ChildContext | RuleContext, callback: () => T) => T;
export declare const useRuleContext: () => ChildContext | RuleContext<string, readonly unknown[]> | undefined;
