/// <reference types="react" />
import { Account, Need, Task, Topic, User } from '@parlor/common/amplify-schema';
export type TaskAssociationsProps = {
    canAdd?: boolean;
    disabled?: boolean;
    hideAccounts?: boolean;
    hideUsers?: boolean;
    onChange?: (values: {
        accounts?: Account[];
        needs?: Need[];
        topics?: Topic[];
        users?: User[];
    }) => void;
    placeholder?: string;
    relationsToHide?: {
        topics: boolean;
        usersAndAccounts: boolean;
    };
    showIcons?: boolean;
    showLabel?: boolean;
    task?: Task;
    state?: 'all' | 'model' | 'saving';
};
export declare const TaskAssociations: ({ task, showLabel, canAdd, onChange, disabled, hideUsers, hideAccounts, showIcons, relationsToHide, placeholder, state: initialState, }: TaskAssociationsProps) => JSX.Element;
