import { ApiConfiguration, ApiProvider } from "./api" export interface WebviewMessage { type: | "apiConfiguration" | "maxRequestsPerTask" | "customInstructions" | "webviewDidLaunch" | "newTask" | "askResponse" | "clearTask" | "didCloseAnnouncement" | "selectImages" | "exportCurrentTask" | "showTaskWithId" | "deleteTaskWithId" | "exportTaskWithId" | "didClickKoduSignIn" | "didClickKoduSignOut" | "didClickKoduAddCredits" | "fetchKoduCredits" text?: string askResponse?: ClaudeAskResponse apiConfiguration?: ApiConfiguration images?: string[] } export type ClaudeAskResponse = "yesButtonTapped" | "noButtonTapped" | "messageResponse"