UNPKG

dots-wrapper

Version:

Digital Ocean v2 api wrapper - javascript - typescript - nodejs

11 lines (10 loc) 431 B
import { IResponse, IContext } from '../../types'; import { ISshKey } from '..'; export interface IGetSshKeyApiResponse { ssh_key: ISshKey; } export interface IGetSshKeyApiRequest { ssh_key_id: string | number; } export type GetSshKeyResponse = IResponse<IGetSshKeyApiResponse>; export declare const getSshKey: ({ httpClient, }: IContext) => ({ ssh_key_id, }: IGetSshKeyApiRequest) => Promise<Readonly<GetSshKeyResponse>>;