///
///
interface CustomMatchers {
toBeLocalized(): R;
toBeLocalizationOf(str: string): R;
}
declare module "vitest" {
interface Assertion extends CustomMatchers {}
interface AsymmetricMatchersContaining extends CustomMatchers {}
}
// Also extend jest-dom matchers for compatibility
declare global {
namespace Vi {
interface JestMatchers extends CustomMatchers {}
}
}