export function makeAbciQuery(path?: string, { kind, height }?: { kind?: T | undefined; height?: number | bigint | undefined; }): `/abci_query?${string}`; export function makeVStorage({ fetch }: { fetch: typeof window.fetch; }, config: MinimalNetworkConfig): { readStorage: (path?: string, { kind, height }?: { kind?: T | undefined; height?: number | bigint | undefined; }) => Promise; /** * * @param {string} path * @returns {Promise} latest vstorage value at path */ readLatest(path?: string): Promise; /** * Keys of children at the path * * @param {string} path * @returns {Promise} */ keys(path?: string): Promise; /** * @param {string} path * @param {number} [height] default is highest * @returns {Promise>} */ readAt(path: string, height?: number): Promise>; /** * Read values going back as far as available * * @param {string} path * @param {number | string} [minHeight] * @returns {Promise} */ readFully(path: string, minHeight?: number | string): Promise; }; export type VStorage = ReturnType; import type { MinimalNetworkConfig } from './network-config.js'; import { QueryChildrenResponse } from '@agoric/cosmic-proto/agoric/vstorage/query.js'; import { QueryDataResponse } from '@agoric/cosmic-proto/agoric/vstorage/query.js'; import type { StreamCell } from '@agoric/internal/src/lib-chainStorage.js'; //# sourceMappingURL=vstorage.d.ts.map