import type { MDSResponse } from '../../types.js'; import type { Token } from '../general/response.js'; import type { Transaction, Txn } from '../send/response.js'; import type { TokenParams } from './params.js'; export type TokensReturnType = S extends TokenParams ? S['action'] extends 'export' ? MDSResponse : S['action'] extends 'import' ? MDSResponse : S extends { tokenid: string; } ? MDSResponse : MDSResponse : MDSResponse; export type TokenExport = { tokenid: string; data: string; }; export type KeysReturnType = S extends 'list' ? MDSResponse : S extends 'checkkeys' ? MDSResponse : S extends 'new' ? MDSResponse : MDSResponse; export type KeysResponse = MDSResponse; export type CheckKeys = { allkeys: number; correct: number; wrong: number; }; export type NewKeysResponse = MDSResponse; export type TxPowReturnType = S extends { params: any; } ? S['params'] extends { address: string; } ? MDSResponse : S['params'] extends { onchain: string; } ? MDSResponse : S['params'] extends { action: 'info'; } ? MDSResponse : MDSResponse : never; export type TxPowOnchain = { found: true; block: string; blockid: string; tip: string; confirmations: string; }; export type TxPowInfo = { txpowdb: { size: number; }; onchaindb: { size: number; first: { found: boolean; blockid: string; block: number; timemilli: string; date: string; }; last: { found: boolean; blockid: string; block: number; timemilli: string; date: string; }; }; }; export type Key = { size: number; depth: number; uses: number; maxuses: number; modifier: string; publickey: string; }; export type ScanChain = { depth: number; blocks: ScanChainBlock[]; }; type ScanChainBlock = { block: number; depth: number; timemilli: string; date: string; txpowid: string; transactions: Txn[]; isburntransaction: boolean; }; export {}; //# sourceMappingURL=response.d.ts.map