import { EndlessConfig } from '../api/endlessConfig.mjs'; import { LedgerInfo } from '../types/index.mjs'; import { Status, SearchResponse } from '../types/indexer.mjs'; import '../utils/apiEndpoints.mjs'; import '../utils/const.mjs'; /** * This file contains the underlying implementations for exposed API surface in * the {@link api/general}. By moving the methods out into a separate file, * other namespaces and processes can access these methods without depending on the entire * general namespace and without having a dependency cycle error. */ declare function getLedgerInfo(args: { endlessConfig: EndlessConfig; }): Promise; declare function getIndexerStatus(args: { endlessConfig: EndlessConfig; durationSecs?: number; }): Promise; declare function search(args: { endlessConfig: EndlessConfig; query: string; }): Promise; export { getIndexerStatus, getLedgerInfo, search };