import type { Signal } from '@nonoun/native-core'; export interface StoreControllerOptions { /** Parse fetch response. Default: `res.json()` */ parse?: (res: Response) => Promise>; } export declare class StoreController { #private; readonly loading: Signal; readonly error: Signal; constructor(options?: StoreControllerOptions); /** Get or create a signal for a key. */ get(key: string): Signal; /** Set a value (creates signal if needed). */ set(key: string, value: unknown): void; /** Bulk-set from a plain object. */ setAll(data: Record): void; /** Fetch JSON from URL, populate signals from top-level keys. */ load(url: string): Promise; /** Check if a key exists. */ has(key: string): boolean; /** All current keys. */ keys(): IterableIterator; destroy(): void; } //# sourceMappingURL=store-controller.d.ts.map