import { Configuration, NoParameters } from "@atomist/automation-client"; import { CommandListener, EventHandlerRegistration, ExtensionPack, PushTest, SoftwareDeliveryMachine, SoftwareDeliveryMachineConfiguration } from "@atomist/sdm"; import { ConfigureMachineOptions, DeliveryGoals, GoalConfigurer, GoalCreator } from "../configure"; export interface YamlSoftwareDeliveryMachineConfiguration { extensionPacks?: ExtensionPack[]; extensions?: { commands?: string[]; events?: string[]; ingesters?: string[]; goals?: string[]; tests?: string[]; }; } export declare type CommandMaker = (sdm: SoftwareDeliveryMachine) => Promise | CommandListener; export declare type EventHandler = Omit, "name">; export declare type EventMaker = (sdm: SoftwareDeliveryMachine) => Promise> | EventHandler; export declare type ConfigurationMaker = (cfg: Configuration) => Promise> | SoftwareDeliveryMachineConfiguration; /** * Configuration options for the yaml support */ export interface ConfigureYamlOptions { options?: ConfigureMachineOptions; tests?: Record; goals?: GoalCreator; configurers?: GoalConfigurer | Array>; cwd?: string; } /** * Load one or more yaml files to create goal sets * * When providing more than one yaml file, files are being loaded * in provided order with later files overwriting earlier ones. */ export declare function configureYaml(patterns: string | string[], options?: ConfigureYamlOptions): Promise; //# sourceMappingURL=configureYaml.d.ts.map