import { type WidgetAbilities } from '../../../domains/widgets/widget-identity'; /** * Resolves the abilities of a plugin's custom widget: the manifest's `customWidget.abilities` * merged over `PLUGIN_ABILITY_DEFAULTS`. * * The manifest is untrusted, so each field is validated: an invalid or unknown field is ignored * with a console warning naming the plugin, and the default applies. Never throws. * * @param declared - The manifest's `customWidget.abilities`. * @param pluginName - The plugin name, for the warning. * @returns The complete, frozen abilities. * @internal */ export declare const resolvePluginAbilities: (declared: unknown, pluginName: string) => WidgetAbilities;