import type { DataMapFilter } from '@stackpress/lib/types'; import type { Data } from '@stackpress/idea-parser'; import DataMap from '@stackpress/lib/Map'; import type { AttributesToken } from '../types.js'; import Attribute from '../Attribute.js'; export default class Attributes extends DataMap { static make(tokens?: AttributesToken): Attributes; get args(): DataMap; get disabled(): this; get flags(): this; get methods(): this; get props(): DataMap; constructor(attributes?: Array); add(attribute: Attribute): Attributes; add(name: string, args: Data[] | boolean): Attributes; enabled(name: string): boolean; filter(callback: DataMapFilter): this; value(name: string): D | undefined; }