import { Assertion, AssertionLabel, IAssertionData } from './Assertion'; import type { Claim } from '../Claim'; export declare enum IconVariant { Light = "light", Dark = "dark" } export interface IDictionaryCategory { icon: string; labels: { [locale: string]: string; }; descriptions: { [locale: string]: string; }; } export interface IDictionaryAction { labels: { [isoLangCode: string]: string; }; category: string; } export interface IDictionary { categories: { [categoryId: string]: IDictionaryCategory; }; actions: { [actionId: string]: IDictionaryAction; }; } export interface IEditCategory { id: string; icon: string; label: string; description: string; } export interface ITranslatedDictionaryCategory { id: string; icon: string; label: string; description: string; } export interface IActionAssertionData extends IAssertionData { label: AssertionLabel.Actions; data: { actions: { action: string; parameters: string; }[]; }; } export declare class ActionsAssertion extends Assertion { #private; protected readonly assertion: IActionAssertionData; static UNCATEGORIZED_ID: string; constructor(claim: Claim, data: IActionAssertionData); /** * Gets the list of actions from the claim's action assertion and runs them through the * dictionary to get information needed to render the associated categories in the * "Edits and activity" section. */ getCategories(locale?: string, iconVariant?: IconVariant): Promise; } //# sourceMappingURL=ActionsAssertion.d.ts.map