import { PreinitializedWritableAtom } from "nanostores"; export * from "./types.js"; import { LangGraphClient, RenderMessage } from "../LangGraphClient.js"; export interface ComposedArtifact { id: string; filename: string; filetype: string; versions: Artifact[]; } export interface Artifact { group_id: string; id: string; code: string; filename: string; filetype: string; version: number; is_done: boolean; } export declare const useArtifacts: (renderMessages: PreinitializedWritableAtom, client: PreinitializedWritableAtom | null>) => { data: { artifacts: PreinitializedWritableAtom & object; currentArtifactId: PreinitializedWritableAtom<[string, string] | null> & object; showArtifact: PreinitializedWritableAtom & object; }; mutation: { setCurrentArtifactById: (id: string, tool_id: string) => void; setShowArtifact: (show: boolean) => void; }; };