import { LitClientOptions } from './'; import { AddAutopilotSessionRequestPartial, AddAutopilotSessionResponse, AutopilotClient, ListAutopilotFeaturesRequestPartial, ListAutopilotFeaturesResponse, ListAutopilotSessionsRequestPartial, ListAutopilotSessionsResponse, RevokeAutopilotSessionRequestPartial, RevokeAutopilotSessionResponse } from './types'; /** * API interface for litd's Autopilot RPC sub-server. */ export declare class AutopilotApi { /** * Create a new AutopilotApi instance. */ static create(options: LitClientOptions): AutopilotApi; /** * The grpc client to communicate with the daemon. */ client: AutopilotClient; constructor(client: AutopilotClient); /** * ListAutopilotFeatures fetches all the features supported by the Autopilot * server along with the rules that we need to support in order to subscribe * to those features. */ listAutopilotFeatures(request?: ListAutopilotFeaturesRequestPartial): Promise; /** * AddAutopilotSession creates a new LNC session and attempts to register it * with the Autopilot server. */ addAutopilotSession(request?: AddAutopilotSessionRequestPartial): Promise; /** * ListAutopilotSessions lists all the sessions that are of type * TypeAutopilot. */ listAutopilotSessions(request?: ListAutopilotSessionsRequestPartial): Promise; /** * RevokeAutopilotSession revokes an Autopilot session. */ revokeAutopilotSession(request?: RevokeAutopilotSessionRequestPartial): Promise; }