spot-sdk-ts
Version:
TypeScript bindings based on protobufs (proto3) provided by Boston Dynamics
27 lines • 1.33 kB
TypeScript
import { GetLocalGridTypesResponse, GetLocalGridsResponse, GetLocalGridTypesRequest, GetLocalGridsRequest } from "./local_grid";
export declare const protobufPackage = "bosdyn.api";
/**
* The map service provides access multiple kinds of cell-based map data.
* It supports querying for the list of available types of local grids provided by the service,
* and supports requesting a set of the latest local grids by map type name.
*/
export interface LocalGridService {
/**
* Obtain the list of available map types.
* The name field keys access to individual local grids when calling GetLocalGrids.
*/
GetLocalGridTypes(request: GetLocalGridTypesRequest): Promise<GetLocalGridTypesResponse>;
/** Request a set of local grids by type name. */
GetLocalGrids(request: GetLocalGridsRequest): Promise<GetLocalGridsResponse>;
}
export declare class LocalGridServiceClientImpl implements LocalGridService {
private readonly rpc;
constructor(rpc: Rpc);
GetLocalGridTypes(request: GetLocalGridTypesRequest): Promise<GetLocalGridTypesResponse>;
GetLocalGrids(request: GetLocalGridsRequest): Promise<GetLocalGridsResponse>;
}
interface Rpc {
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
}
export {};
//# sourceMappingURL=local_grid_service.d.ts.map