import { CollectionType, ComponentRegistry, ConfigPages, ConfigVar, ConfigVarResultCollection, Flow, Inputs, IntegrationDefinition, QueueConfig, StandardQueueConfig, TriggerResult as TriggerPerformResult, TriggerReference } from "../types"; import { ActionContext, Component as ServerComponent, TriggerPayload, TriggerResult } from "."; import { ComponentReference as ServerComponentReference, ConfigPage as ServerConfigPage, RequiredConfigVariable as ServerRequiredConfigVariable } from "./integration"; export declare const CONCURRENCY_LIMIT_MAX = 15; export declare const CONCURRENCY_LIMIT_MIN = 2; export declare const convertIntegration: = TriggerPerformResult>(definition: IntegrationDefinition) => ServerComponent; export declare const convertConfigPages: (pages: ConfigPages | undefined, userLevelConfigured: boolean) => ServerConfigPage[]; /** Converts typed QueueConfig to legacy format with usesFifoQueue and concurrencyLimit. */ export declare const convertQueueConfig: (queueConfig: QueueConfig) => StandardQueueConfig; /** Converts a Flow into the structure necessary for YAML generation. */ export declare const convertFlow: = TriggerPerformResult>(flow: Flow, componentRegistry: ComponentRegistry, referenceKey: string) => Record; /** Converts an input value to the expected server type by its collection type. */ export declare const convertInputValue: (value: unknown, collectionType: CollectionType | undefined) => unknown; /** Converts a Config Var into the structure necessary for YAML generation. */ export declare const convertConfigVar: (key: string, configVar: ConfigVar, referenceKey: string, componentRegistry: ComponentRegistry) => ServerRequiredConfigVariable; export declare const invokeTriggerComponentInput: (componentRef: ServerComponentReference, onTrigger: TriggerReference | undefined, eventName: "perform" | "onInstanceDeploy" | "onInstanceDelete" | "webhookCreate" | "webhookDelete") => { component: { key: string; version: number | "LATEST"; isPublic: boolean; } | { key: string; signature: string; isPublic: boolean; }; key: string; triggerEventFunctionName: "perform" | "onInstanceDeploy" | "onInstanceDelete" | "webhookCreate" | "webhookDelete"; }; export type TriggerActionInvokeFunction = (ref: { component: ServerComponentReference["component"]; key: string; triggerEventFunctionName: "perform" | "onInstanceDeploy" | "onInstanceDelete" | "webhookCreate" | "webhookDelete"; }, context: ActionContext, payload: TriggerPayload | null, params: Record) => Promise;