import { InvokeEditorFunctionRequest as InvokeEditorFunctionRequest$1, InvokeEditorFunctionResponse as InvokeEditorFunctionResponse$1 } from './index.typings.js'; /** An EditorFunction is an entity storing data needed to support Functions of predefined Function types inside Editor and supporting Editor lifecycle. */ interface EditorFunction { /** * EditorFunction ID. * @format GUID * @readonly */ id?: string | null; } /** Invoke Function Request */ interface InvokeEditorFunctionRequest { /** * Id of the function requested to be invoked * @format GUID */ functionId: string | null; } /** Invoke Function Response */ interface InvokeEditorFunctionResponse { /** The result data returned by the executed Editor Function. Structure depends on the specific function implementation. */ output?: Record | null; } /** @docsIgnore */ type InvokeEditorFunctionApplicationErrors = { code?: 'NOT_FOUND'; description?: string; data?: Record; }; type __PublicMethodMetaInfo = { getUrl: (context: any) => string; httpMethod: K; path: string; pathParams: M; __requestType: T; __originalRequestType: S; __responseType: Q; __originalResponseType: R; }; declare function invokeEditorFunction(): __PublicMethodMetaInfo<'POST', { functionId: string; }, InvokeEditorFunctionRequest$1, InvokeEditorFunctionRequest, InvokeEditorFunctionResponse$1, InvokeEditorFunctionResponse>; export { type EditorFunction as EditorFunctionOriginal, type InvokeEditorFunctionApplicationErrors as InvokeEditorFunctionApplicationErrorsOriginal, type InvokeEditorFunctionRequest as InvokeEditorFunctionRequestOriginal, type InvokeEditorFunctionResponse as InvokeEditorFunctionResponseOriginal, type __PublicMethodMetaInfo, invokeEditorFunction };