/// import * as steemJs from "steem"; import { EffectuatedSetRules } from "../../protocol/EffectuatedSetRules"; import { SteemOperationNumber } from "steem-efficient-stream"; import { Api } from "../Api"; import { Protocol } from "../../protocol/Protocol"; import { EffectuatedWiseOperation } from "../../protocol/EffectuatedWiseOperation"; export declare class DirectBlockchainApi extends Api { private steemAdapter; private options; private steem; private steemJsOptions; private postingWif; private sendEnabled; private protocol; constructor(protocol: Protocol, postingWif?: string, options?: DirectBlockchainApi.Options); name(): string; setSendEnabled(enabled: boolean): void; loadPost(author: string, permlink: string): Promise; loadRulesets(forWhom: { delegator?: string; voter?: string; }, atMoment: SteemOperationNumber): Promise; sendToBlockchain(operations: steemJs.OperationWithDescriptor[]): Promise; getLastConfirmationMoment(delegator: string): Promise; getWiseOperations(account: string, until: Date): Promise; getWiseOperationsRelatedToDelegatorInBlock(delegator: string, blockNum: number, skipDelegatorCheck?: boolean, delayOnNoBlockMs?: number): Promise; private getWiseOperationsRelatedToDelegatorInBlock_processBlock; private getWiseOperationsRelatedToDelegatorInBlock_processTransaction; /** * This function is specific only to DirectBlockchainApi. It returns all wise operations in block * (without checking delegator). * @param blockNum - number of the block. * @param protocol - Protocol object. */ getAllWiseOperationsInBlock(blockNum: number): Promise; getDynamicGlobalProperties(): Promise; getAccountInfo(username: string): Promise; getBlogEntries(username: string, startFrom: number, limit: number): Promise; } export declare namespace DirectBlockchainApi { interface Options { apiUrl: string; } const DEFAULT_OPTIONS: Options; }