askexperts
Version:
AskExperts SDK: build and use AI experts - ask them questions and pay with bitcoin on an open protocol
31 lines (30 loc) • 772 B
TypeScript
import { Command } from "commander";
/**
* Options for stream commands
*/
export interface StreamCommandOptions {
relays?: string[];
encryption?: string;
compression?: string;
binary?: boolean;
debug?: boolean;
chunkSize?: string;
chunkInterval?: string;
metadata?: string;
ttl?: string;
maxChunks?: string;
maxSize?: string;
privateKey?: string;
}
/**
* Helper function to parse comma-separated lists
* @param value The comma-separated string
* @returns Array of trimmed strings
*/
export declare function commaSeparatedList(value: string): string[];
/**
* Register the stream command with the CLI
*
* @param program The commander program
*/
export declare function registerStreamCommand(program: Command): void;