import { IntegrationDefinition, ConfigVar, Flow, ConfigPages, ComponentRegistry, CollectionType } from "../types"; import { Component as ServerComponent } from "."; import { RequiredConfigVariable as ServerRequiredConfigVariable, ConfigPage as ServerConfigPage } from "./integration"; export declare const convertIntegration: (definition: IntegrationDefinition) => ServerComponent; export declare const convertConfigPages: (pages: ConfigPages | undefined, userLevelConfigured: boolean) => ServerConfigPage[]; /** Converts a Flow into the structure necessary for YAML generation. */ export declare const convertFlow: (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;