import type { PluginListing, PluginsAbility } from '../types'; /** * The status to show, read from the switches: the host's status lags a toggle, so this answers what * the user just asked. Errors and not-yet-added win, since no switch changes either. */ export declare function effectiveStatus(listing: PluginListing): PluginListing['status']; export type UserChoice = 'choose' | 'nothingToRun' | 'readOnly' | 'lockedOn' | 'lockedOff'; /** Whether the viewer may pick for themselves, and if not, which reason to give. */ export declare function userChoice(listing: PluginListing, ability: Pick): UserChoice; //# sourceMappingURL=pluginStatus.d.ts.map