/** ProseMirror attribute key → clipboard data attribute, e.g. `openInNewTab` → `data-open-in-new-tab`. */ export declare const dataAttributeName: (key: string) => string; /** * Strings under a string default stay raw so clipboard HTML reads naturally; everything else * round-trips through JSON. A null default declares no type, so a string there is JSON-quoted too: * written raw, "12" or "true" would decode as a number or boolean. */ export declare const encodeAttribute: (value: unknown, defaultValue: unknown) => string; /** Mirrors encodeAttribute, using the schema default's type to tell a raw string from JSON; the default is the fallback for unparseable JSON. */ export declare const decodeAttribute: (raw: string | null, defaultValue: unknown) => unknown;