import { ChatComposer } from "../../components/chat-composer.js"; import { type UseFileAttachmentsResult } from "../../hooks/use-file-attachments.js"; import type { ChatComposerMessages } from "../../components/composer.js"; import type { ComposerState } from "../../hooks/use-composer.js"; import type { SlashCommandContext } from "../../hooks/use-slash-commands.js"; import type { ComposerQueuedRecall } from "../../hooks/use-queued-prompt-recall.js"; import type { EffectiveSessionControl } from "@opengeni/sdk"; import { type ComponentProps, type ReactNode } from "react"; import { type AppContextValue } from "../app-context.js"; export declare function useDraftAttachments(workspaceId: string, scope?: "workspace" | "personal"): UseFileAttachmentsResult; /** * The composer's mic for this workspace. EU-only without an EU speech-to-text * route: the mic stays, switched off, and says "Not supported in EU". Voice * input not available here: no mic. */ export declare function composerTranscription(context: Pick, workspaceId: string): ComponentProps["transcription"]; export declare function ConsoleComposer(props: { workspaceId: string; composer: ComposerState; attachments: UseFileAttachmentsResult; effectiveControl?: EffectiveSessionControl | null | undefined; queuedAheadCount?: number | undefined; canControlWorkspace?: boolean | undefined; controlLinks?: { workspaceHref?: string | undefined; sessionHref?: ((sessionId: string) => string) | undefined; } | undefined; placeholder?: string | undefined; autoFocus?: boolean | undefined; disabled?: boolean | undefined; fileUploadsEnabled: boolean; /** Rendered before attach (mobile “+” lives here). */ controlsLeading?: ReactNode | undefined; /** Session setup controls rendered above the message input. */ header?: ReactNode | undefined; controls?: ReactNode | undefined; actions?: ReactNode | undefined; commandContext?: SlashCommandContext | undefined; onClearView?: (() => void) | undefined; /** Route-specific composer copy, including an exact disabled-send explanation. */ messages?: Partial | undefined; /** Soft-hide dictate while realtime voice is active. */ transcriptionSuppressed?: boolean | undefined; /** Re-read the near/at-limit usage line when this changes (for example the session status). */ usageRefreshKey?: unknown | undefined; /** Up in an empty composer pulls the latest waiting prompt back for editing. */ queuedRecall?: ComposerQueuedRecall | undefined; /** Work this session started is running, or a wake is pending; keeps Pause available while it is idle. */ running?: boolean | undefined; }): import("react").JSX.Element;