/// <reference types="bluebird" />
import * as Promise from 'bluebird';
import { HudAiCreateAttributes, HudAiListAttributes, Resource } from '../utils/Resource';
import { RequestManager } from '../RequestManager';
import { UserPerson } from '../entities';
export interface UserPersonGetAttributes {
    userId?: string;
    personId: string;
}
export interface UserPersonListAttributes extends HudAiListAttributes {
    userId?: string;
    personId?: string;
}
export interface UserPersonCreateAttributes extends HudAiCreateAttributes {
    userId?: string;
    personId: string;
}
export interface UserPersonDestroyAttributes {
    userId?: string;
    personId: string;
}
export declare class UserPersonResource extends Resource<UserPerson, UserPersonListAttributes, UserPersonCreateAttributes, any> {
    constructor(requestManager: RequestManager);
    list(listArgs: UserPersonListAttributes): Promise<{
        count: number;
        rows: UserPerson[];
    }>;
    create(createArgs: UserPersonCreateAttributes): Promise<UserPerson>;
    get(getArgs: UserPersonGetAttributes): Promise<UserPerson>;
    del(destroyArgs: UserPersonDestroyAttributes): Promise<void>;
    destroy(destroyArgs: UserPersonDestroyAttributes): Promise<void>;
}
