/// <reference types="react" />
import { Account, Admin, Need, PickWithOptional, Task, Topic, User } from '@parlor/common';
import { taskAssignedOptions } from '@parlor/components/automation/modals/common';
export declare const NAME_PROP = "name";
type AdminCreator = PickWithOptional<Admin, 'id' | 'email' | 'firstName' | 'lastName'>;
export type TaskFormProps = {
    adminCreator: AdminCreator;
    assignedOption?: (typeof taskAssignedOptions)[number];
    handleAssociationChange?: (values: {
        accounts?: Account[];
        needs?: Need[];
        topics?: Topic[];
        users?: User[];
    }) => Promise<void>;
    handleName?: () => Promise<void>;
    isAssociationsDisabled?: boolean;
    isAutomationForm?: boolean;
    isSourceHidden?: boolean;
    onDelete?: () => void;
    task?: Task;
    taskID?: string;
};
export declare const TaskForm: ({ isAutomationForm, isAssociationsDisabled, isSourceHidden, task, taskID, handleName, onDelete, adminCreator, handleAssociationChange, assignedOption, }: TaskFormProps) => JSX.Element;
export {};
