import type { ReactNode } from "react"; export declare const NEW_SESSION_STARTERS: readonly [{ readonly id: "slack"; readonly title: "Work with Opengeni from Slack"; readonly description: "Install the bot. Start tasks and follow up on the go."; readonly prompt: "Help me install the Opengeni Slack bot so I can ask questions, start work, and follow up from Slack, including on my phone."; }, { readonly id: "github"; readonly title: "Connect GitHub and start a fix"; readonly description: "Explore a repository and find an improvement to make."; readonly prompt: "Help me connect a GitHub repository. Explain the codebase, suggest a useful improvement, and help me implement it once we agree on the change."; }, { readonly id: "linear"; readonly title: "Connect Linear and analyze issues"; readonly description: "Find blockers and decide what to tackle next."; readonly prompt: "Help me connect Linear and analyze a project's open issues. Highlight blockers and possible duplicates, then recommend what to tackle next. Don't change any issues yet."; }, { readonly id: "schedule"; readonly title: "Schedule a morning brief"; readonly description: "Stay up to date without asking every day."; readonly prompt: "Help me schedule a weekday morning brief. Ask what I want to track, which sources to use, my time zone, and where to deliver it. Show me a sample and let me confirm before enabling the schedule."; }, { readonly id: "research"; readonly title: "Research a decision"; readonly description: "Compare options and get a sourced recommendation."; readonly prompt: "Help me research a decision. Ask what I am deciding and what matters most, compare the options, and recommend a next step with sources."; }, { readonly id: "create"; readonly title: "Turn an idea into a first version"; readonly description: "Make a presentation, prototype, or shareable page."; readonly prompt: "Help me turn an idea into something real. Ask about the idea and its audience, suggest whether to make a presentation, prototype, or shareable page, then help me build a first version."; }]; /** * For people who said they want help with everyday things: what they'd ask a * helpful friend, in their words. No services to connect, nothing technical. */ export declare const EVERYDAY_SESSION_STARTERS: readonly [{ readonly id: "trip"; readonly title: "Plan a trip"; readonly description: "A simple day-by-day plan for where you're going."; readonly prompt: "Help me plan a trip. Ask where and when I'm going, who's coming and what we enjoy, then suggest a simple day-by-day plan."; readonly Icon: import("react").ForwardRefExoticComponent & import("react").RefAttributes>; }, { readonly id: "message"; readonly title: "Write a message"; readonly description: "An email, a letter or a text that says what you mean."; readonly prompt: "Help me write a message. Ask who it's for and what I want to say, then write a short, friendly draft I can change."; readonly Icon: import("react").ForwardRefExoticComponent & import("react").RefAttributes>; }, { readonly id: "explain"; readonly title: "Explain something"; readonly description: "A letter, a bill or a topic, in plain words."; readonly prompt: "Explain something to me in plain words. First ask what it is, so I can paste or type it in. Then tell me simply what it means and whether I need to do anything."; /** Offered only where this deployment accepts file uploads. */ readonly promptWithPhoto: "Explain something to me in plain words. First ask what it is: I can paste the text or attach a photo. Then tell me simply what it means and whether I need to do anything."; readonly Icon: import("react").ForwardRefExoticComponent & import("react").RefAttributes>; }, { readonly id: "decide"; readonly title: "Help me decide"; readonly description: "Compare a few options and pick one."; readonly prompt: "Help me decide between a few options. Ask what I'm choosing between and what matters most to me, then compare them simply and recommend one."; readonly Icon: import("react").ForwardRefExoticComponent & import("react").RefAttributes>; }, { readonly id: "meals"; readonly title: "Plan the week's meals"; readonly description: "Simple recipes and a shopping list."; readonly prompt: "Help me plan meals for the week. Ask how many people, what we like and anything we avoid, then suggest simple meals and a shopping list."; readonly Icon: import("react").ForwardRefExoticComponent & import("react").RefAttributes>; }, { readonly id: "learn"; readonly title: "Learn to do something"; readonly description: "Step by step, at your own pace."; readonly prompt: "Teach me how to do something, step by step. Ask what I want to learn and what I already know, then go one step at a time and check that I'm following."; readonly Icon: import("react").ForwardRefExoticComponent & import("react").RefAttributes>; }]; /** For people who said they build a product: their agent first, then a demo. */ export declare const ADD_AGENT_STARTER: { readonly id: "add-agent"; readonly title: "Add an agent to my product"; readonly description: "Tell the agent about your product."; }; /** The recorded playground demo, opened in the workspace. */ export declare const PLAYGROUND_STARTER: { readonly id: "playground"; readonly title: "See a demo of an agent in a product"; readonly description: "A recorded agent inside a sample app."; }; /** The agent asks about the product first. */ export declare const ADD_AGENT_DEFAULT_PROMPT = "I want to add an AI agent to my product with Opengeni. Ask me what the product is and where it lives (a website, an app, a GitHub repository), propose where an agent fits best, then help me build it."; export type StarterSet = "everyday" | "general" | "product"; /** * A suggestion a host shows under the new-chat composer in place of * Opengeni's own, such as tasks that fit the app the chat sits in. */ export type SessionStarter = Readonly<{ id: string; title: string; description?: string | undefined; /** The text put in the composer, which the person can edit before sending. */ prompt: string; /** A small decorative icon (about 20 px) before the title. */ icon?: ReactNode; }>; /** * Six starters under the new-chat composer. The set follows the signup * answer: people who want help with everyday things get six everyday asks; * people adding agents to a product get their own agent and the playground * demo first; everyone else gets the general six. A host's own starters * replace all of them. */ export declare function NewSessionStarters({ onSelect, disabled, set, hostStarters, workspaceId, fileUploads, }: { onSelect: (prompt: string) => void; disabled?: boolean | undefined; set?: StarterSet | undefined; /** The host's suggestions, shown instead of the set's. */ hostStarters?: readonly SessionStarter[] | undefined; /** The deployment accepts attachments, so an everyday ask may offer a photo. */ fileUploads?: boolean | undefined; /** Where the playground demo opens (product set). */ workspaceId?: string | undefined; }): import("react").JSX.Element | null;