import { Node } from '../../core/Node.js'; export const structuredContentClass: "sd-structured-content"; export const structuredContentInnerClass: "sd-structured-content__content"; /** * Configuration options for StructuredContent * @typedef {Object} StructuredContentOptions * @category Options * @property {string} [structuredContentClass='sd-structured-content-tag'] - CSS class for the inline element * @property {Object} [htmlAttributes] - HTML attributes for structured content elements */ /** * Attributes for structured content nodes * @typedef {Object} StructuredContentAttributes * @category Attributes * @property {string} [id] Unique identifier for the structured content field * @property {string} [tag] Content control tag (e.g., 'inline_text_sdt') * @property {string} [alias] Display name for the field (falls back to 'Structured content' when omitted) * @property {Object} [sdtPr] @internal Internal structured document tag properties * @example * // Get attributes from a structured content field * const attrs = editor.getAttributes('structuredContent') * console.log(attrs.id, attrs.alias) */ /** * @module StructuredContent * @sidebarTitle Structured Content * @snippetPath /snippets/extensions/structured-content.mdx */ export const StructuredContent: Node, Record, Record>; /** * Configuration options for StructuredContent */ export type StructuredContentOptions = Object; /** * Attributes for structured content nodes */ export type StructuredContentAttributes = Object; //# sourceMappingURL=structured-content.d.ts.map