import AggregatedValidator from './SchemaBuilder/AggregatedValidator'; import ValidationProcessor from './SchemaBuilder/ValidationProcessor'; /** * Removes the index number from array notations */ export declare function clearIndexes(path: string): string; /** * Removes the index number preceeded of '$' from array notations */ export declare function clearIndexesIterator(path: string): string; /** * Gets the index of iterator for array notation * e.g. contacts[].types[] => contacts[$1].values[$0] => [1, 4] * e.g. contacts[].values[] => messages[$1] => [1] * @param {string} path * @returns {array} */ export declare function getIndexesIterator(path: string): string[]; export declare function interpolatePathsByPaths(rawValidationPaths: string[], data: Object): string[]; /** * Creates a list of json paths based on the existing keys in the schema * and the data. */ export declare function interpolatePaths(schemaData: Object, data: Object): string[]; /** * Creates validator based on invalidationPaths and list of validations. */ export declare function createValidations(invalidationPaths: string[], ...validations: ValidationProcessor[]): AggregatedValidator;