/// <reference types="bluebird" />
import * as Promise from 'bluebird';
import { HudAiCreateAttributes, HudAiListAttributes, Resource } from '../utils/Resource';
import { RequestManager } from '../RequestManager';
import { Quote } from '../entities';
export interface QuoteListAttributes extends HudAiListAttributes {
    personId?: string | string[];
    articleId?: string;
    term?: string;
    minImportance?: number;
    id?: string | string[];
}
export interface QuoteSearchAttributes extends HudAiListAttributes {
    id?: string;
    personId?: string;
    articleId?: string;
    term?: string;
    text?: string;
    minImportance?: number;
    maxImportance?: number;
    createdBefore?: Date;
    createdAfter?: Date;
}
export interface QuoteCreateAttributes extends HudAiCreateAttributes {
    personId: string;
    articleId: string;
    text: string;
    term: string;
    importanceScore?: number;
}
export declare class QuoteResource extends Resource<Quote, QuoteListAttributes, QuoteCreateAttributes, any> {
    constructor(requestManager: RequestManager);
    list(listArgs: QuoteListAttributes): Promise<{
        count: number;
        rows: Quote[];
    }>;
    search(searchArgs: QuoteSearchAttributes): Promise<{
        count: number;
        rows: Quote[];
    }>;
    reindex(): Promise<any>;
    create(createArgs: QuoteCreateAttributes): Promise<Quote>;
    get(id: string | number): Promise<Quote>;
    del(id: string | number): Promise<void>;
    destroy(id: string | number): Promise<void>;
}
