/// <reference types="bluebird" />
import * as Promise from 'bluebird';
import { HudAiCreateAttributes, HudAiListAttributes, HudAiUpdateAttributes, Resource } from '../utils/Resource';
import { RequestManager } from '../RequestManager';
import { TextCorpus } from '../entities';
export interface TextCorpusListAttributes extends HudAiListAttributes {
    type?: string;
    userId?: string;
}
export interface TextCorpusCreateAttributes extends HudAiCreateAttributes {
    type: string;
    body: string;
    userId: string;
}
export interface TextCorpusUpdateAttributes extends HudAiUpdateAttributes {
    type?: string;
    body?: string;
    userId?: string;
}
export declare class TextCorpusResource extends Resource<TextCorpus, TextCorpusListAttributes, TextCorpusCreateAttributes, TextCorpusUpdateAttributes> {
    constructor(requestManager: RequestManager);
    list(listArgs: TextCorpusListAttributes): Promise<{
        count: number;
        rows: TextCorpus[];
    }>;
    create(createArgs: TextCorpusCreateAttributes): Promise<TextCorpus>;
    get(id: string | number): Promise<TextCorpus>;
    update(id: string | number, updateArgs: TextCorpusUpdateAttributes): Promise<TextCorpus>;
    del(id: string | number): Promise<void>;
    destroy(id: string | number): Promise<void>;
}
