import type { components } from '../generated/api.js';
import { WorkspaceScopedResource } from './base.js';
type CreateDesktopSessionRequest = components['schemas']['src__routes__desktop_sessions__CreateSessionRequest'];
/**
 * Desktop sessions — remote-controlled desktop instances the agent can use
 * to drive third-party apps (EHRs, CRMs) that lack APIs. Created on demand
 * and torn down when the agent finishes the workflow.
 *
 * @beta New in this release; surface may evolve.
 */
export declare class DesktopSessionsResource extends WorkspaceScopedResource {
    /** Spin up a new desktop session */
    create(body: CreateDesktopSessionRequest): Promise<{
        connected: boolean;
        display_size: number[];
        session_id: string;
    } & import("../index.js").ResponseMetadata>;
    /** Disconnect / tear down a desktop session */
    disconnect(sessionId: string): Promise<{
        ok: boolean;
    } & import("../index.js").ResponseMetadata>;
    /** Drive a click / type / scroll action against the session */
    sendAction(sessionId: string, body: components['schemas']['ActionRequest']): Promise<{
        ok: boolean;
    } & import("../index.js").ResponseMetadata>;
    /** Get the latest screenshot for a session */
    getScreenshot(sessionId: string): Promise<unknown>;
    /** Get the session's current connection + activity status */
    getStatus(sessionId: string): Promise<{
        connected: boolean;
        created_at: number;
        healthy: boolean;
        idle_seconds: number;
        session_id: string;
    } & import("../index.js").ResponseMetadata>;
}
export {};
//# sourceMappingURL=desktop-sessions.d.ts.map