import type { TextHeadingSchema, TextSubheadingSchema, TextBodySchema, ImageSchema, TextCaptionSchema, DynamicRef } from '../types'; import { Component } from './base'; export declare class TextHeading extends Component { private readonly text; protected readonly type: "TextHeading"; constructor(text: string | DynamicRef); toJSON(): TextHeadingSchema; } export declare class TextSubheading extends Component { private readonly text; protected readonly type: "TextSubheading"; constructor(text: string | DynamicRef); toJSON(): TextSubheadingSchema; } export declare class TextBody extends Component { private readonly text; protected readonly type: "TextBody"; private _fontWeight?; private _strikethrough?; constructor(text: string | DynamicRef); setBold(bold?: boolean): this; setFontWeight(weight: 'normal' | 'bold'): this; setStrikethrough(strikethrough?: boolean): this; toJSON(): TextBodySchema; } export declare class Image extends Component { private readonly src; protected readonly type: "Image"; private _width?; private _height?; private _scaleType?; private _aspectRatio?; private _altText?; constructor(src: string | DynamicRef); setWidth(width: number): this; setHeight(height: number): this; setScaleType(scaleType: 'cover' | 'contain'): this; setAspectRatio(ratio: number): this; setAltText(text: string): this; toJSON(): ImageSchema; } export declare class TextCaption extends Component { private readonly text; protected readonly type: "TextCaption"; constructor(text: string | DynamicRef); toJSON(): TextCaptionSchema; }