import { Extendable } from '..'; import { Core } from '../../..'; /** * This method allows safely type casting an Extendable object to include an extension type. * * It assumes you are checking if the target extension has declared its name to the core, * and if that name is found in core's declaredExtensionNames, it will complete the type cast. */ export declare const hasExtension: (extendable: Extendable, core: Core, extensionName: string) => extendable is Extendable & T;