import { AttrSpec } from "../types.js"; import { AttrSpecOptions } from "./parts/attr-spec.js"; export declare function attrs(element: HTMLElement): { strings: Record; numbers: Record; booleans: Record; on: (fn: MutationCallback) => () => void; spec: (spec: A, options?: AttrSpecOptions) => import("../types.js").AttrTypes; }; export declare namespace attrs { var get: { string: (e: HTMLElement, key: string) => string | undefined; number: (e: HTMLElement, key: string) => number | undefined; boolean: (e: HTMLElement, key: string) => boolean; }; var set: { string: (e: HTMLElement, key: string, value: string | undefined) => boolean; number: (e: HTMLElement, key: string, value: number | undefined) => boolean; boolean: (e: HTMLElement, key: string, value: boolean | undefined) => boolean; any: (element: HTMLElement, key: string, value: import("../types.js").AttrValue) => void; entries: (element: HTMLElement, entries: Iterable<[key: string, value: import("../types.js").AttrValue]>) => void; record: (element: HTMLElement, record: Record) => void; }; }