import { SemanticType } from '../Semantics.js';
/**
 * Type guard to check if a semantic is a Description semantic.
 */
export const isDescriptionSemantic = (semantic) => {
    return semantic.id === SemanticType.Description;
};
/**
 * Helper function to create a Description semantic with configuration.
 */
export const createDescriptionSemantic = (config = {}) => {
    const mergedConfig = {
        ...DEFAULT_DESCRIPTION_CONFIG,
        ...config,
    };
    if (config.metadata) {
        mergedConfig.metadata = { ...config.metadata };
    }
    return {
        id: SemanticType.Description,
        config: mergedConfig,
    };
};
/**
 * Default configuration for Description semantic.
 */
export const DEFAULT_DESCRIPTION_CONFIG = {};
//# sourceMappingURL=Description.js.map