/** * This sets the Airplane output (`value`). If a path is provided, it sets the * portion of the JSON output described by the path. * * The path should consist of multiple strings and/or integers. A string * indicates the value associated with a key in a JSON object, and an integer * indicates the index of an element in a (0-indexed) JSON array. For instance, * calling * * setOutput(4, "test", 3) * * would update the 3 to a 4 in the following JSON object: * * {"test": [0, 1, 2, 3]} * * * To learn more about Airplane outputs, see the docs: https://docs.airplane.dev/reference/outputs * @example * setOutput("Task completed successfully.") * @example * setOutput({"error": "Received a 500 from the upstream API"}) * @example * setOutput("Received a 500 from the upstream API", "error") */ export declare const setOutput: (value: unknown, ...path: (string | number)[]) => void; /** * This appends `value` to the Airplane output. If a path is provided, it * appends at the portion of the JSON output described by the path. * * The path should consist of multiple strings and/or integers. A string * indicates the value associated with a key in a JSON object, and an integer * indicates the index of an element in a (0-indexed) JSON array. For instance, * calling * * appendOutput(4, "test", 3) * * would append the 4 to the array containing the 3 in the following JSON object: * * {"test": [[0], [1], [2], [3]]} * * * To learn more about Airplane outputs, see the docs: https://docs.airplane.dev/reference/outputs * @example * appendOutput("Task completed successfully.") * @example * appendOutput({"name": "Carolyn", "occupation": "agent"}, "rows") */ export declare const appendOutput: (value: unknown, ...path: (string | number)[]) => void;