// The Lucia project.
// Copyright 2024-2026 DSP, inc.  All rights reserved.
// Authors:
//   cindy.chang@dsp.im (Cindy Chang), 2024/7/9
//   imacat.yang@dsp.im (imacat), 2026/3/6
/**
 * @module types/store.d
 *   Pinia custom properties type augmentation
 *   for router access in stores.
 */

import 'pinia';
import { Router } from 'vue-router';

declare module 'pinia' {
  /** Extends Pinia stores with router access. */
  export interface PiniaCustomProperties {
    /** The Vue Router instance. */
    $router: Router;
  }
}
