import type { CommitOffsetParams } from '../../store/reducers/partitions/types'; import type { PlanToSvgQueryParams } from '../../store/reducers/planToSvg'; import type { VDiskBlobIndexStatParams } from '../../store/reducers/vdisk/vdisk'; import type { AccessRightsUpdateRequest, AvailablePermissionsResponse, TMetaInfo } from '../../types/api/acl'; import type { TQueryAutocomplete } from '../../types/api/autocomplete'; import type { CapabilitiesResponse } from '../../types/api/capabilities'; import type { TClusterInfo } from '../../types/api/cluster'; import type { SchemaPathParam } from '../../types/api/common'; import type { DescribeConsumerResult } from '../../types/api/consumer'; import type { FeatureFlagConfigs } from '../../types/api/featureFlags'; import type { HealthCheckAPIResponse } from '../../types/api/healthcheck'; import type { JsonHotKeysResponse } from '../../types/api/hotkeys'; import type { TNetInfo } from '../../types/api/netInfo'; import type { NodesRequestParams, TNodesInfo } from '../../types/api/nodes'; import type { TEvNodesInfo } from '../../types/api/nodesList'; import type { TEvPDiskStateResponse } from '../../types/api/pdisk'; import type { PeersRequestParams, TPeersResponse } from '../../types/api/peers'; import type { Actions, ErrorResponse, QueryAPIResponse, SendQueryParams } from '../../types/api/query'; import type { JsonRenderRequestParams, JsonRenderResponse } from '../../types/api/render'; import type { DescribeReplicationResult } from '../../types/api/replication'; import type { TEvDescribeSchemeResult } from '../../types/api/schema'; import type { StorageStatsRequestParams, StorageStatsResponse } from '../../types/api/storage'; import type { TEvSystemStateResponse } from '../../types/api/systemState'; import type { TDomainKey, TEvTabletStateResponse, THiveInfoResponse, UnmergedTEvTabletStateResponse } from '../../types/api/tablet'; import type { TTenantInfo, TTenants } from '../../types/api/tenant'; import type { DescribeTopicResult, TopicDataRequest, TopicDataResponse } from '../../types/api/topic'; import type { VDiskBlobIndexResponse } from '../../types/api/vdiskBlobIndex'; import type { TUserToken } from '../../types/api/whoami'; import type { TabletsApiRequestParams } from '../../types/store/tablets'; import type { Nullable } from '../../utils/typecheckers'; import type { AxiosOptions } from './base'; import { BaseYdbAPI } from './base'; export declare class ViewerAPI extends BaseYdbAPI { getClusterCapabilities({ database }: { database?: string; }): Promise; getClusterInfo(clusterName?: string, { concurrentId, signal }?: AxiosOptions): Promise; /** id=. returns data about node that fullfills request */ getNodeInfo({ nodeId, database }: { nodeId?: string | number; database?: string; }, { concurrentId, timeout, signal }?: AxiosOptions): Promise; getTenants({ clusterName, metadataCache, storage, }: { clusterName?: string; metadataCache?: boolean; storage?: boolean; }, { concurrentId, signal }?: AxiosOptions): Promise; getTenantInfo({ database }: { database: string; }, { concurrentId, signal }?: AxiosOptions): Promise; getNodes({ type, tablets, database, tenant, fieldsRequired, filter, path, storage, ...params }: NodesRequestParams, { concurrentId, signal }?: AxiosOptions): Promise; getNodePeers({ nodeId, filter, ...params }: PeersRequestParams, { concurrentId, signal }?: AxiosOptions): Promise; getTabletsInfo({ nodeId, path, database, filter }: TabletsApiRequestParams, { concurrentId, signal }?: AxiosOptions): Promise; getSchema({ path, database }: { path: SchemaPathParam; database: string; }, { concurrentId, signal }?: AxiosOptions): Promise>; getDescribe({ path, database, timeout }: { path: SchemaPathParam; database: string; timeout?: number; }, { concurrentId, signal }?: AxiosOptions): Promise>; getSchemaAcl({ path, database, dialect }: { path: SchemaPathParam; database: string; dialect: string; }, { concurrentId, signal }?: AxiosOptions): Promise; getAvailablePermissions({ path, database, dialect }: { path: SchemaPathParam; database: string; dialect: string; }, { concurrentId, signal }?: AxiosOptions): Promise; updateAccessRights({ path, database, rights, dialect, }: { path: SchemaPathParam; database: string; rights: AccessRightsUpdateRequest; dialect: string; }, { concurrentId, signal }?: AxiosOptions): Promise; getHeatmapData({ path, database }: { path: SchemaPathParam; database: string; }, { concurrentId, signal }?: AxiosOptions): Promise>; getNetwork({ path, database }: { path: SchemaPathParam; database: string; }, { concurrentId, signal }?: AxiosOptions): Promise; getReplication({ path, database }: { path: SchemaPathParam; database: string; }, { concurrentId, signal }?: AxiosOptions): Promise; getTopic({ path, database }: { path: SchemaPathParam; database: string; }, { concurrentId, signal }?: AxiosOptions): Promise; getTopicData(params: TopicDataRequest, { concurrentId, signal }?: AxiosOptions): Promise; getConsumer({ path, consumer, database }: { path: SchemaPathParam; consumer: string; database: string; }, { concurrentId, signal }?: AxiosOptions): Promise; getHiveTablet({ id, hiveId }: { id: string; hiveId: string; }, { concurrentId, signal }?: AxiosOptions): Promise; getTablet({ id, database, followerId }: { id: string; database?: string; followerId?: string; }, { concurrentId, signal }?: AxiosOptions): Promise; getTabletHistory({ id, database }: { id: string; database?: string; }, { concurrentId, signal }?: AxiosOptions): Promise; getNodesList({ database }: { database?: string; }, { concurrentId, signal }?: AxiosOptions): Promise; getTenantsList({ concurrentId, signal }?: AxiosOptions): Promise; sendQuery(params: SendQueryParams, { concurrentId, signal, withRetries }?: AxiosOptions): Promise | null>; getHotKeys({ path, database, enableSampling, }: { path: SchemaPathParam; database: string; enableSampling: boolean; }, { concurrentId, signal }?: AxiosOptions): Promise; getTabletDescribe(tenantId: TDomainKey, database?: string, { concurrentId, signal }?: AxiosOptions): Promise>; getStorageStats({ database, path, groupBy, everything, groups, tablets, media, }: StorageStatsRequestParams, { concurrentId, signal }?: AxiosOptions): Promise; getChartData({ target, from, until, maxDataPoints, database }: JsonRenderRequestParams, { concurrentId, signal }?: AxiosOptions): Promise; whoami({ database }: { database?: string; }): Promise; autocomplete(params: { database: string; prefix?: string; limit?: number; table?: string[]; }): Promise; getFeatureFlags(database?: string, { concurrentId, signal }?: AxiosOptions): Promise; getConfig(database?: string, { concurrentId, signal }?: AxiosOptions): Promise>; getVDiskBlobIndexStat({ database, ...rest }: VDiskBlobIndexStatParams, { concurrentId, signal }?: AxiosOptions): Promise; getNodeWhiteboardPDiskInfo({ nodeId, pDiskId, database, }: { nodeId: string | number; pDiskId: string | number; database?: string; }, { concurrentId, signal }?: AxiosOptions): Promise; planToSvg({ database, plan }: PlanToSvgQueryParams, { signal }?: { signal?: AbortSignal; }): Promise; getHealthcheckInfo({ database, maxLevel, clusterName, }: { database: string; maxLevel?: number; clusterName?: string; }, { concurrentId, signal }?: AxiosOptions): Promise; commitOffset({ database, path, consumer, partitionId, offset }: CommitOffsetParams, { concurrentId, signal }?: AxiosOptions): Promise; }