import type { PluginApiFeatureMap } from "@thortiq/plugin-api";
export interface FeatureDetectablePluginApi {
    readonly features?: PluginApiFeatureMap;
}
/** Optional API additions are enabled only by an explicit true feature flag. */
export declare function supportsPluginFeature(api: FeatureDetectablePluginApi, feature: string): boolean;
/** Narrows an optional namespace without assuming an API minor version. */
export declare function hasPluginApiNamespace<T extends object, K extends PropertyKey>(api: T, namespace: K): api is T & Record<K, object>;
