import type { MetaPath, ParsedResult, Target, TargetAttribute } from './types';
interface Ctx {
    result: ParsedResult;
    currentTarget: Partial<Target>;
    currentAttrKey?: string;
    currentAttrVal?: TargetAttribute;
    currentArray?: string[];
    currentMetaPath: MetaPath;
    ruleIndex: number;
    ruleStartOffset?: number;
}
export declare function parse(input: string, ctx?: Ctx): ParsedResult | null;
export {};
