/** * @license * Copyright 2025 Steven Roussey * SPDX-License-Identifier: Apache-2.0 */ /** * Set a value on an object using dot-notation key (e.g. "a.b.c"). * Creates intermediate objects as needed. Skips keys that could cause prototype pollution. */ export declare function setNestedValue(obj: Record, key: string, value: unknown): void; /** * Get a value from an object using dot-notation key (e.g. "a.b.c"). * Returns undefined if any segment is missing or if the key would touch prototype-pollution-sensitive properties. */ export declare function getNestedValue(obj: Record, key: string): unknown; /** * Read all of stdin as a string. */ export declare function readStdin(): Promise; /** * Write result as JSON to a file or stdout. */ export declare function outputResult(result: unknown, outputJsonFile?: string): Promise; /** * Format a task/workflow execution error for clean user-facing output. * Strips stack traces and source code snippets, showing only the message. */ export declare function formatError(err: unknown): string; /** * Format an array of objects as a simple aligned table. */ export declare function formatTable(rows: Record[], columns: string[]): string;