#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
pub use super::ArkUI_StyledString;
pub use ohos_drawing_sys::text_declaration::{
OH_Drawing_FontCollection, OH_Drawing_TextStyle, OH_Drawing_Typography,
OH_Drawing_TypographyStyle,
};
pub use ohos_drawing_sys::text_typography::OH_Drawing_PlaceholderSpan;
extern "C" {
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub fn OH_ArkUI_StyledString_Create(
style: *mut OH_Drawing_TypographyStyle,
collection: *mut OH_Drawing_FontCollection,
) -> *mut ArkUI_StyledString;
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub fn OH_ArkUI_StyledString_PushTextStyle(
handle: *mut ArkUI_StyledString,
style: *mut OH_Drawing_TextStyle,
);
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub fn OH_ArkUI_StyledString_CreateTypography(
handle: *mut ArkUI_StyledString,
) -> *mut OH_Drawing_Typography;
#[cfg(feature = "api-12")]
#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
pub fn OH_ArkUI_StyledString_AddPlaceholder(
handle: *mut ArkUI_StyledString,
placeholder: *mut OH_Drawing_PlaceholderSpan,
);
}