import { type QRL } from '@builder.io/qwik'; import type { MaybeValue } from '../types'; type Value = MaybeValue; /** * Creates a validation functions that validates the pattern of a string. * * @param requirement The regex pattern. * @param error The error message. * * @returns A validation function. */ export declare function pattern(requirement: RegExp, error: string): QRL<(value: Value) => string>; export {};