import { type ComponentDefinition, type ComponentHooks, type ConfigVarResultCollection, type ConnectionDefinition, type ConnectionInput, type ConnectionTemplateInputField, type InputFieldDefinition, type Inputs, type OnPremConnectionInput, type TriggerDefinition, type TriggerPayload, type TriggerResult } from "../types"; import { type PollingTriggerDefinition } from "../types/PollingTriggerDefinition"; import type { Component as ServerComponent, Connection as ServerConnection, Input as ServerInput, Trigger as ServerTrigger } from "."; export declare const convertInput: (key: string, { default: defaultValue, type, label, collection, ...rest }: InputFieldDefinition | OnPremConnectionInput | ConnectionInput) => ServerInput; export declare const _isValidTemplateValue: (template: string, inputs: { [key: string]: ConnectionInput | ConnectionTemplateInputField; }) => { isValid: boolean; error?: string; }; export declare const convertTemplateInput: (key: string, { templateValue, label, ...rest }: ConnectionTemplateInputField, inputs: { [key: string]: ConnectionInput | ConnectionTemplateInputField; }) => ServerInput; export declare const convertTrigger: = TriggerResult>(triggerKey: string, trigger: TriggerDefinition | PollingTriggerDefinition, hooks?: ComponentHooks) => ServerTrigger; export declare const convertConnection: ({ inputs, ...connection }: ConnectionDefinition) => ServerConnection; export declare const convertComponent: = TriggerResult>({ connections, actions, triggers, dataSources, hooks, ...definition }: ComponentDefinition) => ServerComponent;