import type { DisplayComponent, MediaItem, RowComponent, SectionComponent } from '../types';
/**
 * Validates the number of display components in a rendered message.
 *
 * @param components Display components to validate.
 */
export declare function validateComponents(components: readonly DisplayComponent[]): void;
/**
 * Validates display text content.
 *
 * @param content Text content to validate.
 */
export declare function validateText(content: string): void;
/**
 * Validates a display media URL.
 *
 * @param url URL to validate.
 */
export declare function validateUrl(url: string): void;
/**
 * Validates a file attachment URL.
 *
 * @param url URL to validate.
 */
export declare function validateAttachmentUrl(url: string): void;
/**
 * Validates a row component list.
 *
 * @param components Row components to validate.
 */
export declare function validateRow(components: readonly RowComponent[]): void;
/**
 * Validates a section component.
 *
 * @param section Section component to validate.
 */
export declare function validateSection(section: SectionComponent): void;
/**
 * Validates an accent color value.
 *
 * @param color Color to validate.
 * @returns Normalized numeric color.
 */
export declare function validateColor(color: number | string): number;
/**
 * Validates gallery items.
 *
 * @param items Gallery items to validate.
 */
export declare function validateGallery(items: readonly MediaItem[]): void;
//# sourceMappingURL=container.d.ts.map