import { Writable } from "node:stream"; import type { ActionResponse, CommandContext } from "../lib/types"; import type { StorageScope } from "../lib/types"; export declare function resolveSessionId(context: CommandContext, explicitSessionId?: string): Promise; export declare function writeActionResult(context: CommandContext, verb: string, target: string, response: ActionResponse): void; export declare function parseStorageScope(value: string | undefined): StorageScope | undefined; export declare function readJsonFile(context: CommandContext, targetPath: string): T; export declare function writeJsonFile(context: CommandContext, targetPath: string, payload: unknown): string; export declare function writeJsonStdout(context: CommandContext, payload: unknown): void; export declare function parseCsvList(value: string | undefined): string[] | undefined; export declare function createBufferedStream(onChunk: (chunk: string) => void, mirror?: NodeJS.WritableStream): Writable;