import type { ExpandType } from "../utils/index.cjs"; import type { SnapshotSelector } from "../vanilla/index.cjs"; import type { WithUseSnapshotContributes, WithUseSubscribeContributes } from "./enhancers/index.cjs"; import type { StoreCreateOptions, VanillaStore } from "../vanilla/create.cjs"; import type { WithSnapshotContributes, WithSubscribeContributes } from "../vanilla/enhancers/index.cjs"; import type { SnapshotOptions } from "./use-snapshot.cjs"; export interface StoreUseSnapshot { (): State; (options: SnapshotOptions): State; (selector: SnapshotSelector): StateSlice; (selector: undefined, options: SnapshotOptions): State; (selector: SnapshotSelector, options: SnapshotOptions): StateSlice; } export interface Store extends ExpandType & WithSubscribeContributes & WithSnapshotContributes & WithUseSnapshotContributes & WithUseSubscribeContributes> { } export declare function createWithHooks(initialState: State, options?: StoreCreateOptions): Store; //# sourceMappingURL=create-with-hooks.d.cts.map