import type { OpenGeniClient } from "@opengeni/sdk"; import type { RetainedArtifactLoader, RetainedScreenshotLoader, VideoArtifactPlaybackLoader } from "./registry.js"; /** SDK methods the workspace retained-artifact loader needs. */ export type RetainedArtifactLoaderClient = Pick; /** SDK method the session retained-screenshot loader needs. */ export type RetainedScreenshotLoaderClient = Pick; /** SDK method the generated-video playback loader needs. */ export type RetainedVideoLoaderClient = Pick; /** * Bind permanent retained-artifact retrieval (generated images, published * files) to one authenticated workspace, for `MessageTimeline`'s * `loadRetainedArtifact`. Images get a short-lived URL; files are assembled * from verified byte ranges unless the caller asks for a URL. */ export declare function createWorkspaceRetainedArtifactLoader(client: RetainedArtifactLoaderClient, workspaceId: string): RetainedArtifactLoader; /** * Bind the authenticated screenshot downloader to one workspace and session, * for `MessageTimeline`'s `loadRetainedScreenshot`. Fetched metadata must match * the timeline receipt before bytes are handed to React; errors deliberately * contain no storage locator or content. */ export declare function createSessionRetainedScreenshotLoader(client: RetainedScreenshotLoaderClient, workspaceId: string, sessionId: string): RetainedScreenshotLoader; /** * Bind expiring generated-video playback sources to one authenticated * workspace, for `MessageTimeline`'s `loadVideoArtifactPlayback`. */ export declare function createWorkspaceRetainedVideoLoader(client: RetainedVideoLoaderClient, workspaceId: string): VideoArtifactPlaybackLoader;