///
declare module "*.vue" {
import type { DefineComponent } from "vue"
const component: DefineComponent, Record, unknown>
export default component
}
interface Window {
AstrBotPluginPage?: {
apiGet(path: string, params?: Record): Promise
apiPost(path: string, body?: unknown): Promise
apiPut(path: string, body?: unknown): Promise
apiPatch(path: string, body?: unknown): Promise
apiDelete(path: string): Promise
}
}