import { SRCursor } from "./SRCursor";
import { NavigationMode } from "./SRTypes";
export declare class SRRendererRule {
    private ruleDefinition;
    constructor(ruleDefinition: {
        modes: NavigationMode[];
        roles: string[];
        elems: string[];
        tests: Array<(cursor: SRCursor, oldCursor?: SRCursor, mode?: NavigationMode) => string | null>;
    });
    test(mode: NavigationMode, cursor: SRCursor, oldCursor?: SRCursor): string | null;
}
