@stoar/cli
Version:
CLI tool for STOAR - decentralized file storage on Arweave
18 lines • 588 B
TypeScript
export interface StoarConfig {
gateway?: string;
walletPath?: string;
defaultTags?: Record<string, string>;
costLimit?: string;
autoBatch?: {
enabled: boolean;
timeout?: number;
maxSize?: number;
};
[key: string]: any;
}
export declare function loadConfig(): StoarConfig;
export declare function saveConfig(config: StoarConfig): void;
export declare function getConfig(key?: string): any;
export declare function setConfig(key: string, value: any): void;
export declare function resetConfig(): void;
//# sourceMappingURL=config.d.ts.map