export declare const STORE_REGISTRY_FILE = "src/db/store-registry.generated.ts"; export interface DiscoveredStore { id: string; exportName: string; file: string; } /** * Every `defineStore(` call the discovery pattern cannot read. A store the * generator skips silently is never migrated, so an unreadable declaration is * a failure, not a skip. */ export declare function findUndiscoverableStores(coreDir: string): string[]; export declare function discoverStores(coreDir: string): DiscoveredStore[]; export declare function renderStoreRegistry(stores: DiscoveredStore[]): string; export declare function findDuplicateStoreIds(stores: DiscoveredStore[]): string[]; export declare function normalizeGenerated(source: string): string;