import React from 'react';
import { Task } from '@parlor/common/amplify-schema';
import { TaskItemProps } from '@parlor/components';
export declare enum AddTaskAction {
    Existing = "existing",
    New = "new"
}
type TasksContentProps = {
    addTask: (action: AddTaskAction) => void;
    hasMore: boolean;
    isLoading: boolean;
    onDelete?: TaskItemProps['onDelete'];
    onLoadMore: () => Promise<unknown>;
    onRemoveFromSuccessPlan?: TaskItemProps['onRemoveFromSuccessPlan'];
    tasks: Task[];
};
declare function TasksContentInner({ isLoading, tasks, onLoadMore, addTask, hasMore, onDelete, onRemoveFromSuccessPlan, }: TasksContentProps): JSX.Element;
export declare const TasksContent: React.MemoExoticComponent<typeof TasksContentInner>;
export {};
