import { EastType } from '@elaraai/core/east'; import { ApplicationColors } from '@elaraai/core/page'; import { ELARASchema } from '@elaraai/core/schema'; import { MLFunctionStructure } from '@elaraai/core/structure'; /** * A {@link MLFunctionPluginDefinition} to configure the {@link MLFunctionPlugin}. * * @category Structure */ export declare type MLFunctionPluginDefinition = { /** the {@link MLFunctionStructure} to apply */ func: MLFunctionStructure; /** the {@link ApplicationColors} to apply */ pallette?: ApplicationColors; /** prepend the artefact names with this */ prepend?: string; }; /** * Create a results pages for diagnosing an {@link MLFunctionStructure}. * * @param definition: the desired {@link MLFunctionPlugin}. * @return a {@link ELARASchema} containing a {@link MLFunctionPlugin} contents * * @category Structure * * @example * ```typescript * // Import a Transaction Schema containing the MLFunction. * import orders from "./gen/orders.structure" * // Create a MLFunctionPlugin for an order qty MLFunction. * const ml = MLFunctionPlugin({ func: orders.properties.qty.function }) * ``` */ export declare function MLFunctionPlugin(definition: MLFunctionPluginDefinition): ELARASchema; //# sourceMappingURL=ml.d.ts.map