import { EffectuatedWiseOperation } from "../../protocol/EffectuatedWiseOperation";
export declare namespace WiseSQLProtocol {
    interface Row {
        id: number;
        block_num: number;
        transaction_num: number;
        transaction_id: string;
        timestamp: string;
        moment: number;
        voter: string;
        delegator: string;
        operation_type: "set_rules" | "send_voteorder" | "confirm_vote";
        json_str: string;
    }
    namespace Row {
        /**
         * This is an TS 1.6+ TypeGuard as described here: https://www.typescriptlang.org/docs/handbook/advanced-types.html
         */
        function isRow(o: any): o is Row;
    }
    namespace Handler {
        interface QueryParams {
            endpointUrl: string;
            path: string;
            method: "get" | "post";
            params?: object;
            data?: object;
            limit: number;
        }
    }
    class Handler {
        static query(params: Handler.QueryParams, loadNextPages?: boolean, offset?: number): Promise<EffectuatedWiseOperation[]>;
        private static getProtocolVersionFromResponse;
        private static nextPageOffset;
        private static handleRow;
    }
}
