@tonyfreed/card-core
Version:
Core components and types for Ildex card system
19 lines • 676 B
TypeScript
/**
* Store Factory
* Factory function for creating card stores
*/
import type { CardState } from './types';
import type { ICard, Language, ThemeConfig } from '../types';
/**
* Create initial card state
*/
export declare const createInitialState: (initialCard?: ICard, initialLanguage?: Language, initialTheme?: ThemeConfig) => CardState;
/**
* Create card store factory
* This function returns the initial state and can be used to create
* multiple store instances if needed
*/
export declare const createCardStore: (initialCard?: ICard, initialLanguage?: Language, initialTheme?: ThemeConfig) => {
initialState: CardState;
};
//# sourceMappingURL=store.d.ts.map