import { PublicKey } from '@metaplex-foundation/umi'; import { BaseExternalPluginAdapterKey } from '../generated'; import { PluginAuthority } from './pluginAuthority'; import { LinkedDataKey } from './linkedDataKey'; export type ExternalPluginAdapterKey = { type: 'LifecycleHook'; hookedProgram: PublicKey; } | { type: 'Oracle'; baseAddress: PublicKey; } | { type: 'AppData'; dataAuthority: PluginAuthority; } | { type: 'LinkedLifecycleHook'; dataAuthority: PublicKey; } | { type: 'LinkedAppData'; dataAuthority: PluginAuthority; } | { type: 'DataSection'; parentKey: LinkedDataKey; } | { type: 'AgentIdentity'; }; export declare function externalPluginAdapterKeyToBase(e: ExternalPluginAdapterKey): BaseExternalPluginAdapterKey;