import type { Item, ValidationRule, ValidationRuleObject } from '../typings'; /** * @deprecated * This is v2 legacy code from this lib that will only be available via 'urn-lib/legacy' in v4 of this lib */ export declare function generateDefaultValidationRules(components: string[]): ValidationRule[]; export declare function validationRuleObjectToArray(rule: ValidationRuleObject | ValidationRule): ValidationRule; export declare function isRfc2141NidString(str: unknown, strictMode?: boolean): boolean; export declare function isString(value: unknown): value is string; export declare function isProtocol(protocol: string, parsed: Item): boolean; export declare function isValid(parsed: Item, propertyName: string, allowZeroLength?: boolean): boolean; /** * @deprecated * This is v2 legacy code from this lib that will only be available via 'urn-lib/legacy' in v4 of this lib */ export declare function urnObject(protocol: string, customRules: ValidationRule[], allowZeroLength: boolean, parsed: Item): null | string[]; //# sourceMappingURL=validate.d.ts.map