import { LogicRuntime } from "intentx-runtime"; import type { Scope, LogicFactory, LogicActions, ComputedDef } from "intentx-runtime"; import type { IntentBus } from "./bus"; export type LogicOptions = { scope?: Scope | string; sharedBus?: boolean; bus?: IntentBus; }; export declare function useLogic, A extends LogicActions>(logic: LogicFactory, options?: LogicOptions): { runtime: LogicRuntime; store: import("svelte/store").Writable>>; state: import("svelte/store").Writable>>; actions: A; emit:

(type: string, payload?: P) => Promise; }; //# sourceMappingURL=useLogic.d.ts.map