import { IFormState } from '../features/WtaWnta/_components/AgentDetailsForm';
import { ValidationResponse } from '../features/WtaWnta/_components/ValidationCard';
/**
 * Custom hook to trigger prompt rule validation for PromptGenie mode.
 * @param templateContext The context for the prompt template.
 * @param templateDescription A description of the template's purpose.
 * @param enabled A flag to enable or disable the hook.
 * @returns An object with a function to trigger validation, the saving state, and any conflicts.
 */
declare const usePromptValidation: (templateContext: string, templateDescription: string, enabled: boolean | undefined, baseUrl: string) => {
    validateRules: (currentState: IFormState, modelName: string) => Promise<ValidationResponse | null>;
    clearValidation: () => void;
    isSaving: boolean;
    validationResponse: ValidationResponse | null;
    error: Error | null;
};
export default usePromptValidation;
//# sourceMappingURL=usePromptValidation.d.ts.map