import { ComponentDef, ComponentType, ContainerConfig, ElementType, BaseComponentConfig, TextBlockConfig, WsImageConfig, ButtonAction } from 'warskald-ui/models'; import { TypeMapping } from './general-type-guards'; export declare function isComponentType(value: unknown): value is ComponentType; export declare function IsElementType(value: unknown): value is ElementType; export declare function isComponentDef(value: unknown): value is ComponentDef; export declare const IComponentConfigTypeMap: TypeMapping; export declare function IsIComponentConfig(value: unknown): value is BaseComponentConfig; export declare function IsIComponentConfigArray(value: unknown): value is BaseComponentConfig[]; export declare function IsTextBlockEnum(value: unknown): value is ElementType.TEXT_BLOCK; export declare function IsContainerEnum(value: unknown): value is ElementType.CONTAINER; export declare function IsImageEnum(value: unknown): value is ElementType.IMAGE; export declare function IsComponentEnum(value: unknown): value is ElementType.COMPONENT; export declare function IsElementTypeOf(value: unknown, elementType: T): value is T; export declare const TextBlockTypeMap: TypeMapping; export declare const ContainerTypeMap: TypeMapping; export declare const ImageTypeMap: TypeMapping; /** * Checks if the input is a text block config. * * @param value - The value to check if it is a text block config * @returns true if the input is a text block config, false otherwise */ export declare function IsTextBlock(value: unknown): value is TextBlockConfig; export declare function IsTextBlockArray(value: unknown): value is TextBlockConfig[]; export declare function IsContainer(value: unknown): value is ContainerConfig; export declare function IsContainerArray(value: unknown): value is ContainerConfig[]; export declare function IsImage(value: unknown): value is WsImageConfig; export declare function IsImageArray(value: unknown): value is WsImageConfig[]; export declare function IsComponent(value: unknown): value is BaseComponentConfig; export declare function IsComponentArray(value: unknown): value is BaseComponentConfig[]; export declare function IsButtonAction(value: unknown): value is ButtonAction;