import type { IConstruct } from 'constructs'; export interface StringLengthValidation { value: string; fieldName: string; minLength: number; maxLength: number; } export type ValidationFn = (param: T, scope?: IConstruct) => string[]; export declare function validateStringFieldLength(params: StringLengthValidation, _scope?: IConstruct): string[]; export declare function validateFieldPattern(value: string, fieldName: string, pattern: RegExp, customMessage?: string, _scope?: IConstruct): string[]; export declare function throwIfInvalid(validationFn: ValidationFn, param: T, scope?: IConstruct): T;