/// <reference types="bluebird" />
import * as Promise from 'bluebird';
import { HudAiCreateAttributes, HudAiListAttributes, Resource } from '../utils/Resource';
import { RequestManager } from '../RequestManager';
import { StockAlert } from '../entities';
export interface StockAlertListAttributes extends HudAiListAttributes {
    companyId?: string | string[];
    occurredBefore?: Date;
    occurredAfter?: Date;
    limit?: number;
    offset?: number;
}
export interface StockAlertCreateAttributes extends HudAiCreateAttributes {
    companyId: string;
    firstValue: number;
    firstValueOccurredAt: Date;
    secondValue: number;
    secondValueOccurredAt: Date;
}
export interface StockAlertGetAttributes {
    id: string;
}
export interface StockAlertDestroyAttributes {
    id: string;
}
export declare class StockAlertResource extends Resource<StockAlert, StockAlertListAttributes, StockAlertCreateAttributes, any> {
    constructor(requestManager: RequestManager);
    list(listArgs: StockAlertListAttributes): Promise<{
        count: number;
        rows: StockAlert[];
    }>;
    create(createArgs: StockAlertCreateAttributes): Promise<StockAlert>;
    get(getArgs: StockAlertGetAttributes): Promise<StockAlert>;
    del(destroyArgs: StockAlertDestroyAttributes): Promise<void>;
    destroy(destroyArgs: StockAlertDestroyAttributes): Promise<void>;
}
