17 lines
634 B
TypeScript
17 lines
634 B
TypeScript
/// <reference types="svelte" />
|
|
/// <reference types="vite/client" />
|
|
/// <reference types="vite-plugin-pwa/client" />
|
|
|
|
/**
|
|
* Which shell the game was built for (vite.config.ts): `'web'` for the PWA, `'tauri'` for the
|
|
* Android, iOS and desktop apps. Read in App.svelte only, for wiring (CLAUDE.md §2).
|
|
*/
|
|
declare const __ROSEA_SHELL__: 'web' | 'tauri';
|
|
|
|
declare module 'virtual:rosea-library' {
|
|
import type { HopeSentence } from '@rosea/schema';
|
|
/** The verified hope library, bundled at build time after validate:library passed (day-sentence.md P5). */
|
|
const library: readonly HopeSentence[];
|
|
export default library;
|
|
}
|