import type { InferActivityParams, RegisteredActivityName, } from "@stackflow/config"; export type Actions = { push( activityName: K, activityParams: InferActivityParams, options?: { animate?: boolean; }, ): { activityId: string; }; replace( activityName: K, activityParams: InferActivityParams, options?: { animate?: boolean; activityId?: string; }, ): { activityId: string; }; pop(): void; pop(options: { animate?: boolean }): void; pop(count: number, options?: { animate?: boolean }): void; };