/** * @fileoverview Evergreen interfaces. * @license * SPDX-License-Identifier: Apache-2.0 */ import { Action, Input, Mimetype, Output } from '../../interfaces.js'; /** Named parameter spec. */ export declare interface NamedParameterSchema { readonly name: string; readonly description: string; readonly type: readonly Mimetype[]; } /** Action spec. */ export declare interface ActionSchema { readonly name: string; readonly inputs: readonly NamedParameterSchema[]; readonly outputs: readonly NamedParameterSchema[]; } /** Action input names. */ export declare type ActionInputNames = T['inputs'][number]['name']; /** Action inputs. */ export declare type ActionInputs = Readonly, Input>>; /** Action output names. */ export declare type ActionOutputNames = T['outputs'][number]['name']; /** Action outputs. */ export declare type ActionOutputs = Readonly, Output>>; export declare type ActionFromSchema = Action, ActionOutputs>;