import type { IFunction } from '@stoplight/spectral-core';
/**
 * Checks if a String object has a length validator.
 *
 * @param {unknown} targetVal The AST node to check, expected to be a StringProperty or StringScalar object.
 * @returns {IFunctionResult[] | void} An array of results indicating declarations that lack a length validator.
 * @throws {Error} If the input is not a valid object.
 */
export declare const checkLengthValidator: IFunction;
