declare function describe(name: string, fn: () => void): void; declare function it(name: string, fn: () => unknown | Promise): void; declare function beforeEach(fn: () => unknown | Promise): void; declare function afterEach(fn: () => unknown | Promise): void; type ExpectMatchers = { toBe(expected: unknown): void; toEqual(expected: unknown): void; toContain(expected: unknown): void; }; declare function expect(actual: unknown): ExpectMatchers; interface ViMock { mockImplementation(impl: (...args: TArgs) => TReturn): void; } interface ViAPI { fn unknown>(impl?: T): ViMock; mock(moduleName: string, factory?: () => unknown): void; resetAllMocks(): void; restoreAllMocks(): void; } declare const vi: ViAPI; // Type declaration for .scm files imported as raw text declare module "*.scm?raw" { const content: string; export default content; }