import { StarterPo } from "../../lib/starterPos.mjs"; import { useNavigate } from "@tanstack/react-router"; //#region src/web/features/onboarding/OnboardingFlow.d.ts type Navigate = ReturnType; /** * The Po's home coordinator, then the first task, then its layout. The layout goes * last because switching templates replaces this page. With `helpMode`, the coordinator turns Help * mode on as soon as it is ready. `onOpen` hears the new session before the page moves to it. * Answers an error to show, or undefined once the coordinator is open. */ export declare function finishOnboarding({ bundle, agent, draft, navigate, helpMode, onOpen }: { bundle: Pick; agent: { alias: string; name?: string; model?: { id: string; }; }; draft: string; navigate: Navigate; helpMode?: boolean; onOpen?: (sessionId: string) => void; }): Promise; /** Creates the Po's profile with its panda. Answers an error to show, or undefined. */ export declare function createPoProfile(po: StarterPo): Promise; /** Keeps the About you answers on the person's profile. Answers an error to show, or undefined. */ export declare function saveAboutYou(po: StarterPo, name: string, interests: string): Promise; /** * First run, full window in place of the template, whenever this Po has no sessions yet. A host * with no model connected sets one up first, since no session starts without one; then the person chooses a ready-made Po, optionally * says who they are, and lands in that Po's first session. That session ends this flow. */ export declare function OnboardingFlow(): import("react").JSX.Element | null; //#endregion export {}; //# sourceMappingURL=OnboardingFlow.d.mts.map