import { type InterfaceDef } from '../core';
/**
 * Hook to request capabilities from the plugin context.
 * @returns An array of capabilities.
 */
export declare const useCapabilities: <T>(interfaceDef: InterfaceDef<T>) => T[];
/**
 * Hook to request a capability from the plugin context.
 * @returns The capability.
 * @throws If no capability is found.
 */
export declare const useCapability: <T>(interfaceDef: InterfaceDef<T>) => T;
//# sourceMappingURL=useCapabilities.d.ts.map