export interface ValiationError { level: 'WARNING' | 'ERROR'; /** * Value that failed */ value: string; /** * JMES path expression of where the item failed */ location: string; /** * Failed Regex message */ validationRegex: string; /** * Failed Regex message */ validationMessage?: string; } /** * Takes a string representation of an AST and a string representation of an options json. * Attempts to run ast validation on the input json by looking at @validationRegex annotations * on the ast and attempting to find those items in the JSON. * @param inputAst_ : A string representation of an AST * @param options : an object that contains the options Json * @returns ValiationError[]: a list of validation errors (if any) */ export declare const validateOptions: (inputAst_: string, options: any) => ValiationError[]; export declare const doOptionValidation: (astPath: string, optionPath: any) => ValiationError[];