spot-sdk-ts
Version:
TypeScript bindings based on protobufs (proto3) provided by Boston Dynamics
28 lines • 1.39 kB
TypeScript
import { ListImageSourcesResponse, GetImageResponse, ListImageSourcesRequest, GetImageRequest } from "./image";
export declare const protobufPackage = "bosdyn.api";
/**
* An Image service provides access to one or more images, for example from cameras. It
* supports querying for the list of available images provided by the service and then
* supports requesting a latest given image by source name.
*/
export interface ImageService {
/**
* Obtain the list of ImageSources for this given service.
* Note that there may be multiple ImageServices running, each with their own set of sources
* The name field keys access to individual images when calling GetImage.
*/
ListImageSources(request: ListImageSourcesRequest): Promise<ListImageSourcesResponse>;
/** Request an image by name, with optional parameters for requesting image quality level. */
GetImage(request: GetImageRequest): Promise<GetImageResponse>;
}
export declare class ImageServiceClientImpl implements ImageService {
private readonly rpc;
constructor(rpc: Rpc);
ListImageSources(request: ListImageSourcesRequest): Promise<ListImageSourcesResponse>;
GetImage(request: GetImageRequest): Promise<GetImageResponse>;
}
interface Rpc {
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
}
export {};
//# sourceMappingURL=image_service.d.ts.map