/**
 * Slug Utilities - Helpers for generating and validating slugs
 */
import { slugify, limitSlugLength, sanitizeSlugInput } from '../../../utils/slug';
import type { FormBackend } from '../../../backend/types';
export { slugify, limitSlugLength, sanitizeSlugInput };
/**
 * Ensure unique slug within a repeater by appending -2, -3, etc.
 *
 * @param candidate - The proposed slug
 * @param backend - Form backend for reading repeater items
 * @param collectionPath - Path to the repeater array
 * @param currentIndex - Index of current item (to exclude from check)
 * @param fieldId - ID of the slug field
 * @param maxLength - Optional maximum length constraint
 */
export declare function ensureUniqueSlug(candidate: string, backend: FormBackend, collectionPath: string, currentIndex: number, fieldId: string, maxLength?: number): string;
