import type { PluginInputs, StringKeys } from './config/inputs.js'; import type { NetlifyPluginOptions } from './netlify_plugin_options.js'; interface NetlifyEventHandler { (options: PluginOptions): void | Promise; } export type OnPreBuild> = PluginInputs> = NetlifyEventHandler>; export type OnBuild> = PluginInputs> = NetlifyEventHandler>; export type OnPostBuild> = PluginInputs> = NetlifyEventHandler>; export type OnError> = PluginInputs> = NetlifyEventHandler & { error: Error; }>; export type OnSuccess> = PluginInputs> = NetlifyEventHandler>; export type OnEnd> = PluginInputs> = NetlifyEventHandler & { error?: Error; }>; export {};