import { Readable } from 'svelte/store';
import { PreloadedStoreState, StoreOptions, StoreStateMap, StoreSelector, StoreSelectorCallback } from './types';
import { StoreRuntime, StoreBoundState, StoreMiddlewareInput, StoreReducersInput } from './store-runtime';
import { ReduxStoreContext } from './internal-types';
export type { StoreOptions } from './types';
export { getDispatch } from './utils/runtime-svelte/utils';
/**
 * Canonical Svelte-readable Store. Its selectors return Svelte Readable values
 * when called and keep .select/.effect escape hatches for tests and sagas.
 */
export declare class Store<TStateMap extends StoreStateMap = {}, TReducers extends StoreReducersInput<TStateMap> = StoreReducersInput<TStateMap>> extends StoreRuntime<TStateMap, TReducers> {
    private readableState;
    /**
     * Create a Svelte-readable Store with app-owned reducers and middlewares.
     * Throws if any reducer uses a package-reserved internal key.
     */
    constructor(reducersMap?: TReducers & StoreReducersInput<TStateMap>, middleware?: StoreMiddlewareInput, options?: StoreOptions);
    /**
     * Svelte stores also treat a store context already present in the Svelte
     * component tree as existing, so nested <Store/> components skip init.
     */
    protected getExistingStoreContext(): ReduxStoreContext | undefined;
    init(initialState?: PreloadedStoreState): () => void;
    createSelector<ARGS extends any[] = [], R = unknown>(selectorFunc: StoreSelectorCallback<R, ARGS, StoreBoundState<TStateMap>>): StoreSelector<R, ARGS, StoreBoundState<TStateMap>>;
    getReadableState(): Readable<StoreBoundState<TStateMap>>;
    dispose(): void;
}
//# sourceMappingURL=svelte-store.d.ts.map