import { OpenAiChatActions } from "./OpenAiChatAction"; import { ChatCommand, ContinuationCommand } from "@motorro/firebase-ai-chat-core"; import { engineId } from "../../engineId"; import { Request } from "firebase-functions/lib/common/providers/tasks"; export interface OpenAiChatCommand extends ChatCommand { readonly engine: typeof engineId; } export declare function isOpenAiChatCommand(data: unknown): data is OpenAiChatCommand; export declare function isOpenAiChatReq(req: Request): req is Request; export interface OpenAiContinuationMeta { readonly runId: string; } export declare function isOpenAiContinuationMeta(data: unknown): data is OpenAiContinuationMeta; export interface OpenAiContinuationCommand extends OpenAiChatCommand, ContinuationCommand { readonly meta: OpenAiContinuationMeta; } export declare function isOpenAiContinuationCommand(command: ChatCommand): command is OpenAiContinuationCommand;