import { IssuedCurrency, LedgerIndex } from '../common';
import { LedgerEntry } from '../ledger';
import { BaseRequest, BaseResponse } from './baseMethod';
export interface LedgerEntryRequest extends BaseRequest {
    command: 'ledger_entry';
    binary?: boolean;
    ledger_hash?: string;
    ledger_index?: LedgerIndex;
    index?: string;
    account_root?: string;
    directory?: {
        sub_index?: number;
        dir_root?: string;
        owner?: string;
    } | string;
    offer?: {
        account: string;
        seq: number;
    } | string;
    ripple_state?: {
        accounts: string[];
        currency: string;
    };
    check?: string;
    escrow?: {
        owner: string;
        seq: number;
    } | string;
    payment_channel?: string;
    deposit_preauth?: {
        owner: string;
        authorized: string;
    } | string;
    ticket?: {
        owner: string;
        ticket_sequence: number;
    } | string;
    xchain_bridge?: {
        locking_chain_door: string;
        locking_chain_issue: 'XRP' | IssuedCurrency;
        issuing_chain_door: string;
        issuing_chain_issue: 'XRP' | IssuedCurrency;
    } | string;
    xchain_claim_id?: {
        locking_chain_door: string;
        locking_chain_issue: 'XRP' | IssuedCurrency;
        issuing_chain_door: string;
        issuing_chain_issue: 'XRP' | IssuedCurrency;
        xchain_claim_id: string | number;
    } | string;
    xchain_create_account_claim_id?: {
        locking_chain_door: string;
        locking_chain_issue: 'XRP' | IssuedCurrency;
        issuing_chain_door: string;
        issuing_chain_issue: 'XRP' | IssuedCurrency;
        xchain_create_account_claim_id: string | number;
    } | string;
}
export interface LedgerEntryResponse extends BaseResponse {
    result: {
        index: string;
        ledger_current_index: number;
        node?: LedgerEntry;
        node_binary?: string;
        validated?: boolean;
    };
}
//# sourceMappingURL=ledgerEntry.d.ts.map