import { AnyActorLogic, EventFromLogic, InputFrom, SnapshotFrom, ExecutableActionsFrom } from "./types.js"; /** * Given actor `logic`, a `snapshot`, and an `event`, returns a tuple of the * `nextSnapshot` and `actions` to execute. * * This is a pure function that does not execute `actions`. */ export declare function transition(logic: T, snapshot: SnapshotFrom, event: EventFromLogic): [nextSnapshot: SnapshotFrom, actions: ExecutableActionsFrom[]]; /** * Given actor `logic` and optional `input`, returns a tuple of the * `nextSnapshot` and `actions` to execute from the initial transition (no * previous state). * * This is a pure function that does not execute `actions`. */ export declare function initialTransition(logic: T, ...[input]: undefined extends InputFrom ? [input?: InputFrom] : [input: InputFrom]): [SnapshotFrom, ExecutableActionsFrom[]];