import { Command } from 'commander'; import { authorizedApiFetch, type ProactiveAgentRecord, type ProactiveDeploymentResponse, type StoredAuth, type WorkspaceSecretRecord } from '@agent-relay/cloud'; type ExitFn = (code: number) => never; type WebSocketFactory = (url: string, options?: { headers?: Record; }) => { on(event: string, listener: (...args: any[]) => void): unknown; close(): void; }; export interface RelayRuntimeDependencies { cwd: () => string; fileExists: (filePath: string) => boolean; readFile: (filePath: string, encoding?: BufferEncoding) => string; mkdir: (dirPath: string) => Promise; writeFile: (filePath: string, contents: string) => Promise; readSecretFromStdin: () => Promise; deploy: (input: { entrypoint: string; source: string; }, options?: { apiUrl?: string; name?: string; watch?: boolean; }) => Promise; listAgents: (options?: { apiUrl?: string; }) => Promise; inspectAgent: (agentId: string, options?: { apiUrl?: string; }) => Promise; undeployAgent: (agentId: string, options?: { apiUrl?: string; }) => Promise; createSecret: (name: string, value: string, options: { apiUrl?: string; workspace: string; }) => Promise; getSecret: (name: string, options: { apiUrl?: string; workspace: string; }) => Promise; deleteSecret: (name: string, options: { apiUrl?: string; workspace: string; }) => Promise; ensureAuthenticated: (apiUrl: string, options?: { force?: boolean; }) => Promise; authorizedApiFetch: typeof authorizedApiFetch; createWebSocket: WebSocketFactory; defaultCloudUrl: string; log: (...args: unknown[]) => void; error: (...args: unknown[]) => void; exit: ExitFn; } export declare function registerRelayRuntimeCommands(program: Command, overrides?: Partial): void; export {}; //# sourceMappingURL=relay-runtime.d.ts.map