import type { MessageOptions, MessageReturn } from './type'; import type { ValidContent } from '../share/type'; export type MessageFunction = { (options: ValidContent | MessageOptions): MessageReturn; } & { [key in MessageOptions['type'] & string]: (options: Omit | string) => MessageReturn; }; declare const message: MessageFunction; export default message;