import type { Application, DeploymentState } from '../../../../../../packages/core/src/domain/generated/output.js';
import type { ChatState } from '../../../../../../packages/core/src/application/ports/output/services/interactive-session-service.interface.js';
/**
 * Snapshot of the application's live dev-server state at the moment
 * the server component rendered. Used to seed `useDeployAction` so
 * the top-bar Preview button and the right-pane Web iframe are both
 * correct on the very first client paint — no "No dev server
 * running" flash, no client-side round-trip latency.
 */
export interface InitialDeploymentSnapshot {
    state: DeploymentState;
    url: string | null;
}
export interface ApplicationPageProps {
    application: Application;
    /**
     * SSR-loaded chat state for this application — seeds the TanStack Query
     * cache inside ChatTab so the initial user message (posted on the server
     * by createApplication before navigation) renders on first paint.
     */
    initialChatState?: ChatState;
    /**
     * SSR-loaded dev-server deployment snapshot. When present and
     * non-Stopped, skips the client-side hydration fetch — the first
     * paint already shows the running URL.
     */
    initialDeployment?: InitialDeploymentSnapshot;
}
export declare function ApplicationPage({ application, initialChatState }: ApplicationPageProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=application-page.d.ts.map