UNPKG

balena-sdk

Version:
10 lines (9 loc) 478 B
import type * as BalenaSdk from '..'; import type { InjectedDependenciesParam } from '..'; declare const getKeyModel: (deps: InjectedDependenciesParam) => { getAll: (options?: BalenaSdk.PineOptions<BalenaSdk.SSHKey>) => Promise<BalenaSdk.SSHKey[]>; get: (id: number) => Promise<BalenaSdk.SSHKey>; remove: (id: number) => Promise<string>; create: (title: string, key: string) => Promise<BalenaSdk.PinePostResult<BalenaSdk.SSHKey>>; }; export default getKeyModel;