///
import * as steem from "steem";
import { EffectuatedSetRules } from "../../protocol/EffectuatedSetRules";
import { SteemOperationNumber } from "steem-efficient-stream";
import { Api } from "../Api";
import { Protocol } from "../../protocol/Protocol";
import { DirectBlockchainApi } from "../directblockchain/DirectBlockchainApi";
import { EffectuatedWiseOperation } from "../../protocol/EffectuatedWiseOperation";
export declare class WiseSQLApi extends Api {
static REQUIRED_ENDPOINT_API_VERSION: string;
private endpointUrl;
private protocol;
private directBlockchainApi;
/**
* You have to specify at least one direct blockchain api.
*/
constructor(endpointUrl: string, protocol: Protocol, directBlockchainApi?: DirectBlockchainApi);
name(): string;
loadPost(author: string, permlink: string): Promise;
loadRulesets(forWhom: {
voter?: string;
delegator?: string;
}, at: SteemOperationNumber): Promise;
sendToBlockchain(operations: steem.OperationWithDescriptor[]): Promise;
getLastConfirmationMoment(delegator: string): Promise;
getAllWiseOperationsInBlock(blockNum: number, delegatorFilter?: string): Promise;
getWiseOperationsRelatedToDelegatorInBlock(delegator: string, blockNum: number): Promise;
getWiseOperations(username: string, until: Date): Promise;
getDynamicGlobalProperties(): Promise;
getAccountInfo(username: string): Promise;
getBlogEntries(username: string, startFrom: number, limit: number): Promise;
private formatMoment;
}