import { BaseRequest, BaseResponse } from './baseMethod';
import { JobType, ServerState, StateAccountingFinal } from './serverInfo';
export interface ServerStateRequest extends BaseRequest {
    command: 'server_state';
}
export interface ServerStateResponse extends BaseResponse {
    result: {
        state: {
            amendment_blocked?: boolean;
            build_version: string;
            complete_ledgers: string;
            closed_ledger?: {
                age: number;
                base_fee: number;
                hash: string;
                reserve_base: number;
                reserve_inc: number;
                seq: number;
            };
            io_latency_ms: number;
            jq_trans_overflow: string;
            last_close: {
                converge_time: number;
                proposers: number;
            };
            load?: {
                job_types: JobType[];
                threads: number;
            };
            load_base: number;
            load_factor: number;
            load_factor_fee_escalation?: number;
            load_factor_fee_queue?: number;
            load_factor_fee_reference?: number;
            load_factor_server?: number;
            peer_disconnects?: string;
            peer_disconnects_resources?: string;
            peers: number;
            pubkey_node: string;
            pubkey_validator?: string;
            server_state: ServerState;
            server_state_duration_us: string;
            state_accounting: StateAccountingFinal;
            time: string;
            uptime: number;
            validated_ledger?: {
                age?: number;
                base_fee: number;
                close_time: number;
                hash: string;
                reserve_base: number;
                reserve_inc: number;
                seq: number;
            };
            validation_quorum: number;
            validator_list_expires?: number;
        };
    };
}
//# sourceMappingURL=serverState.d.ts.map