/**
 * useSlugAutoGeneration - Auto-generate slugs from source field
 *
 * Watches source and status fields and automatically generates slugs when appropriate.
 * Respects manual edits and only generates in draft status.
 */
import type { FormBackend } from '../../../backend/types';
import type { SlugFieldConfig } from '../../../fields/types';
export interface UseSlugAutoGenerationProps {
    path: string;
    backend: FormBackend;
    config: SlugFieldConfig;
    onManualEditChange?: (isManual: boolean) => void;
}
/**
 * Hook to handle automatic slug generation
 *
 * Features:
 * - Auto-generates from source field (default: 'title')
 * - Only generates when status is 'draft' (default status field: 'status')
 * - Detects manual edits and stops auto-generation
 * - Ensures uniqueness within repeaters
 * - Respects maxLength constraint
 */
export declare function useSlugAutoGeneration({ path, backend, config, onManualEditChange }: UseSlugAutoGenerationProps): {
    isManualEdit: boolean;
    lastAutoValue: string | null;
    setManualEdit: (value: boolean) => void;
};
