import type { ActivityBaseParams, ActivityDefinition, Config, InferActivityParams, RegisteredActivityName } from "@stackflow/config"; import type { ActivityComponentType } from "./BaseActivityComponentType"; import type { StackflowReactPlugin } from "./StackflowReactPlugin"; import type { Actions } from "./Actions"; import type { StackComponentType } from "./StackComponentType"; import type { StepActions } from "./StepActions"; import type { Prepare } from "./Prepare"; export type StackflowPluginsEntry = StackflowReactPlugin | StackflowPluginsEntry[]; export type StackflowInput, R extends { [activityName in RegisteredActivityName]: ActivityComponentType; }> = { config: Config; components: R; plugins?: Array; }; export type StackflowOutput = { Stack: StackComponentType; actions: Actions; stepActions: StepActions; prepare: Prepare; }; export declare function stackflow, R extends { [activityName in RegisteredActivityName]: ActivityComponentType>; }>(input: StackflowInput): StackflowOutput; //# sourceMappingURL=stackflow.d.ts.map