/** * Input validation utilities for the c15t CLI */ /** * Validate a URL string */ export declare const isValidUrl: (value: string) => boolean; /** * Validate a c15t platform URL */ export declare const isValidC15tUrl: (value: string) => boolean; /** * Validate a package name */ export declare const isValidPackageName: (value: string) => boolean; /** * Validate a semantic version */ export declare const isValidSemver: (value: string) => boolean; /** * Check if a string contains a dynamic segment (e.g., [locale]) */ export declare const hasDynamicSegment: (value: string) => boolean; /** * Extract dynamic segment from a path */ export declare const extractDynamicSegment: (value: string) => string | null; /** * Validate a hosted project slug */ export declare const isValidInstanceName: (value: string) => boolean; /** * Validate an email address */ export declare const isValidEmail: (value: string) => boolean; /** * Sanitize a string for use as an identifier */ export declare const sanitizeIdentifier: (value: string) => string; /** * Validate that a value is not empty */ export declare const isNotEmpty: (value: unknown) => boolean; /** * Create a validator function for prompts */ export declare const createValidator: (validate: (value: string) => boolean, errorMessage: string) => (value: string) => string | undefined; /** * URL validator for prompts */ export declare const validateUrl: (value: string) => string | undefined; /** * c15t URL validator for prompts */ export declare const validateC15tUrl: (value: string) => string | undefined; /** * Project slug validator for prompts */ export declare const validateInstanceName: (value: string) => string | undefined; /** * Non-empty string validator for prompts */ export declare const validateRequired: (value: string) => string | undefined; /** * Normalize a URL (ensure https, remove trailing slash) */ export declare const normalizeUrl: (url: string) => string;