/** * Prompts validation functions * * Validators return undefined for valid input, or an error message string * for invalid input, matching clack/prompts validation callback signature. */ /** * Reserved skillset names. `personal/` and `public/` are storage bucket * directories under profiles/, so a skillset (or org) may not use these names. */ export declare const RESERVED_SKILLSET_NAMES: ReadonlyArray; /** * Check whether a name collides with a reserved storage-bucket directory name. * Any path segment matching a reserved name counts (so `personal`, `public/x`, * and `org/personal` are all reserved), while `org/foo` is fine. * * @param args - Arguments * @param args.value - The name to check (bare or namespaced) * * @returns True if the name is reserved */ export declare const isReservedSkillsetName: (args: { value: string; }) => boolean; /** * Validate a skillset name * * Must be lowercase alphanumeric with hyphens, not starting or ending with * hyphen, and not a reserved storage-bucket name. * * @param args - Validation arguments * @param args.value - The value to validate * * @returns Undefined if valid, error message string if invalid */ export declare const validateSkillsetName: (args: { value: string; }) => string | undefined; //# sourceMappingURL=validators.d.ts.map