import { Context } from "./context";
/**
 * Used for querying rules.
 */
export declare class Querier {
    private map;
    /**
     * Adds a rule.
     */
    add(rule: Context): void;
    /**
     * Checks if the query satisfies a defined rule.
     *
     * @param s - An array of IPA segments
     * @param t - An array of IPA segments
     * @param i - Index to an element in `s`
     * @param j - Index to an element in `t`
     * @param l1 - Language of `s`
     * @param l2 - Language of `t`
     */
    query(s: string[], t: string[], i: number, j: number, l1: string, l2: string): boolean;
}
/**
 * Compiles code into a rule query function.
 * May throw `ParseError`s during parsing.
 */
export declare function compile(code: string): Querier;
//# sourceMappingURL=compiler.d.ts.map