{"version":3,"file":"index.d.mjs","sources":["../../../../../packages/components/msg/index.d.ts"],"sourcesContent":["import Msg from './src/msg.vue';\nimport { SFCWithInstall } from '@touchvue/utils';\ndeclare const ToMsg: SFCWithInstall<typeof Msg>;\nexport * from './src/instance';\nexport interface MsgOptions {\n    title?: string;\n    content?: string;\n    pic?: string;\n    picPosition?: string;\n    position?: string;\n    height?: string | number;\n    confirmButtonText?: string;\n    cancelButtonText?: string;\n    global?: boolean;\n    show?: boolean;\n    [key: string]: any;\n}\nexport declare const $msg: {\n    (...args: any[]): Promise<boolean>;\n    success(options: MsgOptions): Promise<boolean>;\n    error(options: MsgOptions): Promise<boolean>;\n    help(options: MsgOptions): Promise<boolean>;\n    loading(options: MsgOptions): Promise<boolean>;\n    info(options: MsgOptions): Promise<boolean>;\n    confirm(options: MsgOptions): Promise<boolean>;\n};\nexport default $msg;\nexport { ToMsg };\n"],"names":[],"mappings":"AA0BA,aAAe,IAAA;;;;"}