/**
 * SlugField - URL slug input with auto-generation
 *
 * Auto-generates slugs from a source field (default: title) when in draft status.
 * Detects manual edits and stops auto-generation.
 * Ensures unique slugs within repeaters.
 */
import type { ReactNode } from 'react';
import type { FieldWidgetProps } from '../../fields/props';
import type { SlugFieldConfig } from '../../fields/types';
export interface SlugFieldProps extends FieldWidgetProps<string, SlugFieldConfig> {
}
/**
 * SlugField - Renders a slug input with auto-generation
 *
 * Features:
 * - Auto-generates from source field (e.g., title)
 * - Only auto-generates when status is 'draft'
 * - Detects and respects manual edits
 * - Ensures uniqueness in repeaters (appends -2, -3, etc.)
 * - Validates format (lowercase, numbers, dashes, optional slashes)
 *
 * @example
 * ```tsx
 * <SlugField
 *   path="slug"
 *   backend={backend}
 *   config={{
 *     id: 'slug',
 *     type: 'slug',
 *     label: 'Slug',
 *     sourceFieldId: 'title',
 *     statusFieldId: 'status',
 *     maxLength: 100,
 *   }}
 * />
 * ```
 */
export declare function SlugField({ path, backend, config }: SlugFieldProps): ReactNode;
