import { BackgroundContext, ConversationContext, ExistingConversationContext, MessageContext } from '@frontapp/ui-bridge'; import { ReactElement } from 'react'; type CreateConversationLinkDropdownEP = (id: string, onContext: (context: ExistingConversationContext) => void | ReactElement) => void; type CreateMessageMoreDropdownEP = (id: string, onContext: (context: MessageContext) => void | ReactElement) => void; type CreateSidePanelEP = (id: string, onContext: (context: ConversationContext | BackgroundContext) => void | ReactElement) => void; interface InitializerApi { registerConversationLinkDropdownAction: CreateConversationLinkDropdownEP; registerMessageMoreDropdownAction: CreateMessageMoreDropdownEP; registerSidePanel: CreateSidePanelEP; } export type Initializer = (initializerApi: InitializerApi) => void; export declare function initialize(initializer: Initializer): void; export {};