import { ExtractPropTypes, CSSProperties } from 'vue'; import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils } from '../../../shared.type'; export type { ISharedRenderlessParamHooks, ITinyVm } from '../../../shared.type'; export declare const $constants: { ICON_MAP: { success: string; error: string; info: string; warning: string; }; TITLE_MAP: { success: string; error: string; info: string; warning: string; }; CONTENT_MAXHEUGHT: number; }; export declare const alertProps: { _constants: { type: ObjectConstructor; default: () => { ICON_MAP: { success: string; error: string; info: string; warning: string; }; TITLE_MAP: { success: string; error: string; info: string; warning: string; }; CONTENT_MAXHEUGHT: number; }; }; icon: (StringConstructor | ObjectConstructor)[]; type: { type: StringConstructor; default: string; }; size: { type: StringConstructor; default: string; }; description: { type: StringConstructor; default: string; }; title: { type: StringConstructor; }; center: BooleanConstructor; showIcon: { type: BooleanConstructor; default: boolean; }; closable: { type: BooleanConstructor; default: boolean; }; closeText: { type: StringConstructor; default: string; }; singleLine: { type: BooleanConstructor; default: boolean; }; scrolling: { type: BooleanConstructor; default: boolean; }; showFoldable: { type: BooleanConstructor; default: boolean; }; customClass: (ArrayConstructor | StringConstructor | ObjectConstructor)[]; offset: { type: (NumberConstructor | StringConstructor)[]; default: number; }; autoHide: { type: BooleanConstructor; default: boolean; }; target: { type: StringConstructor; default: string; }; }; export interface IAlertState { show: boolean; getIcon: string; getTitle: string; contentVisible: boolean; contentDescribeHeight: number; contentDefaultHeight: number; contentMaxHeight: number; scrollStatus: boolean; } export type IAlertProps = ExtractPropTypes; export type IAlertConstants = typeof $constants; export type IAlertRenderlessParams = ISharedRenderlessFunctionParams & { api: IAlertApi; state: IAlertState; props: IAlertProps; }; export interface IAlertApi { state: IAlertState; computedGetIcon: () => string; computedGetTitle: () => string; handleClose: () => void; handleHeaderClick: () => void; watchAutoHide: (value: boolean) => void; computedStyle: () => CSSProperties; } export type IAlertRenderlessParamUtils = ISharedRenderlessParamUtils;