import { ExtractPropTypes } from 'vue'; import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils } from '../../../shared.type'; import { timeout } from './renderless'; export type { ISharedRenderlessParamHooks } from '../../../shared.type'; export declare const toastProps: { type: { type: StringConstructor; validator: (value: string) => boolean; }; zIndex: { type: NumberConstructor; default: number; }; text: { type: StringConstructor; default: string; }; time: { type: (NumberConstructor | StringConstructor)[]; default: number; }; timeout: { type: FunctionConstructor; default: null; }; }; export interface IToastState { text: string | null; type?: string; time: number; } export type IToastProps = ExtractPropTypes; export type IToastRenderlessParams = ISharedRenderlessFunctionParams & { state: IToastState; props: IToastProps; }; export interface IToastApi { state: IToastState; timeout: ReturnType; } export type IToastRenderlessParamUtils = ISharedRenderlessParamUtils;