#!/usr/bin/env node export declare const cliPackage = "@runxai/cli"; export interface CliIo { readonly stdout: NodeJS.WriteStream; readonly stderr: NodeJS.WriteStream; readonly stdin: NodeJS.ReadStream; } export interface CliServices { readonly connect?: ConnectService; } export interface ConnectService { readonly list: () => Promise; readonly preprovision: (provider: string, scopes: readonly string[]) => Promise; readonly revoke: (grantId: string) => Promise; } export interface ParsedArgs { readonly command?: string; readonly subcommand?: string; readonly exportAction?: "trainable"; readonly skillAction?: "search" | "add" | "publish" | "inspect"; readonly memoryAction?: "show"; readonly searchQuery?: string; readonly skillRef?: string; readonly publishPath?: string; readonly receiptId?: string; readonly resumeReceiptId?: string; readonly historyQuery?: string; readonly skillPath?: string; readonly harnessPath?: string; readonly evolveObjective?: string; readonly inputs: Readonly>; readonly nonInteractive: boolean; readonly json: boolean; readonly answersPath?: string; readonly receiptDir?: string; readonly runner?: string; readonly memoryProject?: string; readonly sourceFilter?: string; readonly installVersion?: string; readonly installTo?: string; readonly publishOwner?: string; readonly publishVersion?: string; readonly registryUrl?: string; readonly expectedDigest?: string; readonly connectAction?: "list" | "revoke" | "preprovision"; readonly connectProvider?: string; readonly connectGrantId?: string; readonly connectScopes: readonly string[]; readonly configAction?: "set" | "get" | "list"; readonly configKey?: string; readonly configValue?: string; readonly initAction?: "project" | "global"; readonly prefetchOfficial: boolean; readonly exportSince?: string; readonly exportUntil?: string; readonly exportStatus?: string; readonly exportSource?: string; } export declare function runCli(argv?: readonly string[], io?: CliIo, env?: NodeJS.ProcessEnv, services?: CliServices): Promise; export declare function parseArgs(argv: readonly string[]): ParsedArgs; export declare function resolveSkillReference(ref: string, env: NodeJS.ProcessEnv): string; export declare function resolveRunnableSkillReference(ref: string, env: NodeJS.ProcessEnv): Promise;