import type { BaseStoreOptions, OptionallyPersistedStore, Store, StateCreator } from './types'; /** * Creates a base store without persistence. * @param createState - The state creator function for the base store. * @returns A store with the specified state. */ export declare function createBaseStore(createState: StateCreator): Store; /** * Creates a base store with persistence. * @param createState - The state creator function for the base store. * @param options - The configuration options for persistence and sync. * @returns A store with the specified state and persistence. */ export declare function createBaseStore = Partial, PersistReturn extends void = void>(createState: StateCreator, options: BaseStoreOptions): Store; /** * Creates a base store with async persistence. * @param createState - The state creator function for the base store. * @param options - The configuration options for persistence and sync. * @returns A store with the specified state and persistence. */ export declare function createBaseStore = Partial, PersistReturn extends Promise = Promise>(createState: StateCreator, options: BaseStoreOptions): Store; /** * Creates a base store with optional persistence. * @param createState - The state creator function for the base store. * @param options - The configuration options for persistence and sync. * @returns A store with the specified state and optional persistence. */ export declare function createBaseStore = Partial, PersistReturn extends void = void>(createState: StateCreator, options?: BaseStoreOptions): OptionallyPersistedStore; /** * Creates a base store with optional async persistence. * @param createState - The state creator function for the base store. * @param options - The configuration options for persistence and sync. * @returns A store with the specified state and optional persistence. */ export declare function createBaseStore = Partial, PersistReturn extends Promise = Promise>(createState: StateCreator, options?: BaseStoreOptions): OptionallyPersistedStore;