UNPKG

@tensorify.io/cli

Version:

Official CLI for Tensorify.io - Build, test, and deploy machine learning plugins

28 lines 871 B
interface CLIConfig { isDev?: boolean; lastUsedEnv?: "dev" | "prod"; } declare class SessionStorage { storeSession(sessionToken: string): Promise<void>; getSession(): Promise<string | null>; clearSession(): Promise<void>; hasSession(): Promise<boolean>; storeConfig(config: CLIConfig): Promise<void>; getConfig(): Promise<CLIConfig>; updateConfig(updates: Partial<CLIConfig>): Promise<void>; } export declare const sessionStorage: SessionStorage; /** * Get the current authentication token */ export declare function getAuthToken(): Promise<string | null>; /** * Get the current CLI configuration */ export declare function getConfig(): Promise<CLIConfig>; /** * Update CLI configuration */ export declare function updateConfig(updates: Partial<CLIConfig>): Promise<void>; export {}; //# sourceMappingURL=session-storage.d.ts.map