/// <reference types="@rsbuild/core/types" />

// AttachmentSelectorModal 是 Halo Console 全局注册的业务组件（非 @halo-dev/components 导出），
// 见 https://docs.halo.run/developer-guide/plugin/api-reference/ui/components/attachment-selector-modal/
declare module 'vue' {
  interface GlobalComponents {
    AttachmentSelectorModal: import('vue').DefineComponent<
      { visible?: boolean },
      {},
      {},
      {},
      {},
      import('vue').ComponentOptionsMixin,
      import('vue').ComponentOptionsMixin,
      {
        'update:visible': (value: boolean) => void;
        select: (attachments: unknown[]) => void;
      }
    >;
  }
}

export {};
