import { BuildState, BuildStateBuilt, BuildStateError } from '../tasks/run'; import { RemoteConfig } from './config_remote'; import { RenderMessage } from './render_message'; export declare enum DevelopmentRunFrameMessageName { DEVELOPMENT_RUN_FRAME_ORIGINAL_BASE_ONLY = "developmentRunFrameOriginalBaseOnly", DEVELOPMENT_RUN_FRAME_ORIGINAL_BLOCK_ONLY = "developmentRunFrameOriginalBlockOnly", DEVELOPMENT_RUN_FRAME_NEW_BLOCK_INSTALLATION = "developmentRunFrameNewBlockInstallation" } export interface DevelopmentRunFrameOriginalBaseOnlyMessage { type: DevelopmentRunFrameMessageName.DEVELOPMENT_RUN_FRAME_ORIGINAL_BASE_ONLY; } export interface DevelopmentRunFrameOriginalBlockOnlyMessage { type: DevelopmentRunFrameMessageName.DEVELOPMENT_RUN_FRAME_ORIGINAL_BLOCK_ONLY; } export interface DevelopmentRunFrameNewBlockInstallationMessage { type: DevelopmentRunFrameMessageName.DEVELOPMENT_RUN_FRAME_NEW_BLOCK_INSTALLATION; } export type DevelopmentRunFrameMessageInfo = DevelopmentRunFrameOriginalBaseOnlyMessage | DevelopmentRunFrameOriginalBlockOnlyMessage | DevelopmentRunFrameNewBlockInstallationMessage; export interface RunFrameRouteOptions { remoteConfig: RemoteConfig; userAgent: string; messages: RenderMessage; getBuildState(): BuildState; getBuildStateResultAsync(): Promise; setBlockInstallationId(id: string): void; } export declare function createRunFrameRoutes({ remoteConfig, userAgent, messages, getBuildState, getBuildStateResultAsync, setBlockInstallationId, }: RunFrameRouteOptions): import("express-serve-static-core").Router;