///
import * as steem from "steem";
import { EffectuatedSetRules } from "../protocol/EffectuatedSetRules";
import { SteemOperationNumber } from "steem-efficient-stream";
import { EffectuatedWiseOperation } from "../protocol/EffectuatedWiseOperation";
export declare abstract class Api {
abstract name(): string;
abstract loadPost(author: string, permlink: string): Promise;
/**
* Load rulesets
* @param forWhom - specify the delegator, the voter or both of them
* @param at - the moment at which the rulesets were the most current rulesets for specified voter/delegator/pair
*/
abstract loadRulesets(forWhom: {
delegator?: string;
voter?: string;
}, at: SteemOperationNumber): Promise;
abstract sendToBlockchain(operations: steem.OperationWithDescriptor[]): Promise;
abstract getLastConfirmationMoment(delegator: string): Promise;
abstract getWiseOperationsRelatedToDelegatorInBlock(delegator: string, blockNum: number): Promise;
abstract getAllWiseOperationsInBlock(blockNum: number): Promise;
abstract getDynamicGlobalProperties(): Promise;
abstract getAccountInfo(username: string): Promise;
/**
* Returns WISE operations related to given username that are newer than until.
* @param username - steem username
* @param until - the oldest date to search for operations.
*/
abstract getWiseOperations(username: string, until: Date): Promise;
/**
* Returns last user blog entries from follow_api. They are sorted from the newest to the oldest,
* trimmed to the limit.
* @param username - steem username
* @param startFrom - number of the entry to start from counting from the newest to the oldest
* (startFrom=0 will return the newest entry)
* @param limit - limit the number of returned entries (maximal limit is 500).
*/
abstract getBlogEntries(username: string, startFrom: number, limit: number): Promise;
}