/// <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;
    state?: 'all' | 'model' | 'saving';
    task?: Task;
};
export declare const TaskAssociations: ({ task, showLabel, canAdd, onChange, disabled, hideUsers, hideAccounts, showIcons, relationsToHide, placeholder, state: initialState, }: TaskAssociationsProps) => JSX.Element;
