declare interface Live2dConfig { ResourcesPath?: string BackImageName?: string CanvasSize?: { width: number, height: number } | 'auto' Model?: string MessageBoxId?: string MessageStyle?: Record } declare function launchLive2d(config: Live2dConfig): void declare function changeScene(model: string): void declare function releaseInstance(): void declare function setExpression(model: string, expressionId: string): void declare function getAllExpression(model: string): string[] declare function setRandomExpression(model: string): void declare function mouthMotions(model: string, pathOrBuffer: string | ArrayBuffer, voiceWeight?: number): void declare function loadVoice(model: string, path: string): Promise declare function setMessageBox(message: string, duration: number): void declare function hideMessageBox(): void declare function revealMessageBox(): void // export { // Live2dConfig, // launchLive2d, // changeScene, // releaseInstance, // setExpression, // setRandomExpression, // getAllExpression, // mouthMotions, // loadVoice, // setMessageBox, // hideMessageBox, // revealMessageBox, // }