import { type ServiceConfigsValues } from '../common/constants'; import { type FlowrunnerContextOptions } from '../common/context'; import type { FilesApi } from '../common/context-files'; import type { ConfigItem } from '../common/types'; import type { SharedExtensionDefinition } from './model/model-types'; import type { Logger } from './types'; export type { ConfigItem } from '../common/types'; export type { SharedExtensionDefinition } from './model/model-types'; export { ExecutionContext } from './context/execution-context'; export { Extension } from './extension'; export { getAllExtensions, getExtension, resetRegistry } from './registry'; export type { PollingInvocation, PollingResult } from './polling-triggers/types'; export type { RealtimeInvocation } from './realtime-triggers/types'; export type { HandlerBag, Logger } from './types'; export interface RunServiceMethodData { serviceId: string; serviceEntryPointPath: string; configs?: ServiceConfigsValues; methodName: string; methodData?: Record; methodArgs?: unknown[]; logger?: Logger; retrieveNewS3Token: (runtimeKey: string) => Promise<{ filesS3Token: string; }>; createFiles?: (options: FlowrunnerContextOptions) => FilesApi; executionContext: { runtimeKey: string; accessToken: string; appId: string; apiKey: string; serverURL: string; flowId: string; executionId: string; }; } export declare function getServiceConfigs(serviceId: string, serviceEntryPointPath: string): ConfigItem[]; export declare function buildServiceDefinition(serviceId: string, serviceEntryPointPath: string): SharedExtensionDefinition; export declare function runServiceMethod(data: RunServiceMethodData): Promise;