import { z } from 'zod'; import { ServiceBubble } from '../../types/service-bubble-class.js'; import type { BubbleContext } from '../../types/bubble.js'; import { CredentialType } from '@bubblelab/shared-schemas'; declare const AGIIncParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"create_session">; agent_name: z.ZodDefault>>; webhook_url: z.ZodOptional; restore_from_session_id: z.ZodOptional; restore_default_environment_from_user_id: z.ZodOptional; enable_memory_snapshot: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "create_session"; agent_name: "agi-0" | "agi-0-fast"; enable_memory_snapshot: boolean; credentials?: Partial> | undefined; webhook_url?: string | undefined; restore_from_session_id?: string | undefined; restore_default_environment_from_user_id?: string | undefined; }, { operation: "create_session"; credentials?: Partial> | undefined; agent_name?: "agi-0" | "agi-0-fast" | undefined; webhook_url?: string | undefined; restore_from_session_id?: string | undefined; restore_default_environment_from_user_id?: string | undefined; enable_memory_snapshot?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_sessions">; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_sessions"; credentials?: Partial> | undefined; }, { operation: "list_sessions"; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_session">; session_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_session"; session_id: string; credentials?: Partial> | undefined; }, { operation: "get_session"; session_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_session">; session_id: z.ZodString; save_snapshot_mode: z.ZodDefault>>; save_as_default: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "delete_session"; session_id: string; save_snapshot_mode: "none" | "memory" | "filesystem"; save_as_default: boolean; credentials?: Partial> | undefined; }, { operation: "delete_session"; session_id: string; credentials?: Partial> | undefined; save_snapshot_mode?: "none" | "memory" | "filesystem" | undefined; save_as_default?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_all_sessions">; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "delete_all_sessions"; credentials?: Partial> | undefined; }, { operation: "delete_all_sessions"; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"send_message">; session_id: z.ZodString; message: z.ZodString; start_url: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { message: string; operation: "send_message"; session_id: string; credentials?: Partial> | undefined; start_url?: string | undefined; }, { message: string; operation: "send_message"; session_id: string; credentials?: Partial> | undefined; start_url?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_status">; session_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_status"; session_id: string; credentials?: Partial> | undefined; }, { operation: "get_status"; session_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_messages">; session_id: z.ZodString; after_id: z.ZodDefault>; sanitize: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_messages"; session_id: string; after_id: number; sanitize: boolean; credentials?: Partial> | undefined; }, { operation: "get_messages"; session_id: string; credentials?: Partial> | undefined; after_id?: number | undefined; sanitize?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"pause_session">; session_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "pause_session"; session_id: string; credentials?: Partial> | undefined; }, { operation: "pause_session"; session_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"resume_session">; session_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "resume_session"; session_id: string; credentials?: Partial> | undefined; }, { operation: "resume_session"; session_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"cancel_session">; session_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "cancel_session"; session_id: string; credentials?: Partial> | undefined; }, { operation: "cancel_session"; session_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"navigate">; session_id: z.ZodString; url: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { url: string; operation: "navigate"; session_id: string; credentials?: Partial> | undefined; }, { url: string; operation: "navigate"; session_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_screenshot">; session_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_screenshot"; session_id: string; credentials?: Partial> | undefined; }, { operation: "get_screenshot"; session_id: string; credentials?: Partial> | undefined; }>]>; declare const AGIIncResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"create_session">; ok: z.ZodBoolean; session_id: z.ZodOptional; vnc_url: z.ZodOptional; agent_name: z.ZodOptional; status: z.ZodOptional>; created_at: z.ZodOptional; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "create_session"; ok: boolean; status?: "error" | "completed" | "initializing" | "ready" | "running" | "paused" | "terminated" | undefined; created_at?: string | undefined; session_id?: string | undefined; vnc_url?: string | undefined; agent_name?: string | undefined; }, { error: string; success: boolean; operation: "create_session"; ok: boolean; status?: "error" | "completed" | "initializing" | "ready" | "running" | "paused" | "terminated" | undefined; created_at?: string | undefined; session_id?: string | undefined; vnc_url?: string | undefined; agent_name?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_sessions">; ok: z.ZodBoolean; sessions: z.ZodOptional; agent_name: z.ZodString; status: z.ZodEnum<["initializing", "ready", "running", "paused", "completed", "error", "terminated"]>; created_at: z.ZodString; }, "strip", z.ZodTypeAny, { status: "error" | "completed" | "initializing" | "ready" | "running" | "paused" | "terminated"; created_at: string; session_id: string; agent_name: string; vnc_url?: string | undefined; }, { status: "error" | "completed" | "initializing" | "ready" | "running" | "paused" | "terminated"; created_at: string; session_id: string; agent_name: string; vnc_url?: string | undefined; }>, "many">>; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_sessions"; ok: boolean; sessions?: { status: "error" | "completed" | "initializing" | "ready" | "running" | "paused" | "terminated"; created_at: string; session_id: string; agent_name: string; vnc_url?: string | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "list_sessions"; ok: boolean; sessions?: { status: "error" | "completed" | "initializing" | "ready" | "running" | "paused" | "terminated"; created_at: string; session_id: string; agent_name: string; vnc_url?: string | undefined; }[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_session">; ok: z.ZodBoolean; session: z.ZodOptional; agent_name: z.ZodString; status: z.ZodEnum<["initializing", "ready", "running", "paused", "completed", "error", "terminated"]>; created_at: z.ZodString; }, "strip", z.ZodTypeAny, { status: "error" | "completed" | "initializing" | "ready" | "running" | "paused" | "terminated"; created_at: string; session_id: string; agent_name: string; vnc_url?: string | undefined; }, { status: "error" | "completed" | "initializing" | "ready" | "running" | "paused" | "terminated"; created_at: string; session_id: string; agent_name: string; vnc_url?: string | undefined; }>>; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_session"; ok: boolean; session?: { status: "error" | "completed" | "initializing" | "ready" | "running" | "paused" | "terminated"; created_at: string; session_id: string; agent_name: string; vnc_url?: string | undefined; } | undefined; }, { error: string; success: boolean; operation: "get_session"; ok: boolean; session?: { status: "error" | "completed" | "initializing" | "ready" | "running" | "paused" | "terminated"; created_at: string; session_id: string; agent_name: string; vnc_url?: string | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_session">; ok: z.ZodBoolean; deleted: z.ZodOptional; message: z.ZodOptional; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "delete_session"; ok: boolean; message?: string | undefined; deleted?: boolean | undefined; }, { error: string; success: boolean; operation: "delete_session"; ok: boolean; message?: string | undefined; deleted?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_all_sessions">; ok: z.ZodBoolean; deleted: z.ZodOptional; message: z.ZodOptional; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "delete_all_sessions"; ok: boolean; message?: string | undefined; deleted?: boolean | undefined; }, { error: string; success: boolean; operation: "delete_all_sessions"; ok: boolean; message?: string | undefined; deleted?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"send_message">; ok: z.ZodBoolean; message: z.ZodOptional; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "send_message"; ok: boolean; message?: string | undefined; }, { error: string; success: boolean; operation: "send_message"; ok: boolean; message?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_status">; ok: z.ZodBoolean; status: z.ZodOptional>; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_status"; ok: boolean; status?: "error" | "running" | "waiting_for_input" | "finished" | undefined; }, { error: string; success: boolean; operation: "get_status"; ok: boolean; status?: "error" | "running" | "waiting_for_input" | "finished" | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_messages">; ok: z.ZodBoolean; messages: z.ZodOptional; content: z.ZodUnion<[z.ZodString, z.ZodRecord]>; timestamp: z.ZodString; metadata: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "ERROR" | "DONE" | "THOUGHT" | "QUESTION" | "USER" | "LOG"; content: string | Record; id: number; timestamp: string; metadata?: Record | undefined; }, { type: "ERROR" | "DONE" | "THOUGHT" | "QUESTION" | "USER" | "LOG"; content: string | Record; id: number; timestamp: string; metadata?: Record | undefined; }>, "many">>; status: z.ZodOptional>; has_agent: z.ZodOptional; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_messages"; ok: boolean; status?: "error" | "running" | "waiting_for_input" | "finished" | undefined; messages?: { type: "ERROR" | "DONE" | "THOUGHT" | "QUESTION" | "USER" | "LOG"; content: string | Record; id: number; timestamp: string; metadata?: Record | undefined; }[] | undefined; has_agent?: boolean | undefined; }, { error: string; success: boolean; operation: "get_messages"; ok: boolean; status?: "error" | "running" | "waiting_for_input" | "finished" | undefined; messages?: { type: "ERROR" | "DONE" | "THOUGHT" | "QUESTION" | "USER" | "LOG"; content: string | Record; id: number; timestamp: string; metadata?: Record | undefined; }[] | undefined; has_agent?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"pause_session">; ok: z.ZodBoolean; message: z.ZodOptional; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "pause_session"; ok: boolean; message?: string | undefined; }, { error: string; success: boolean; operation: "pause_session"; ok: boolean; message?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"resume_session">; ok: z.ZodBoolean; message: z.ZodOptional; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "resume_session"; ok: boolean; message?: string | undefined; }, { error: string; success: boolean; operation: "resume_session"; ok: boolean; message?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"cancel_session">; ok: z.ZodBoolean; message: z.ZodOptional; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "cancel_session"; ok: boolean; message?: string | undefined; }, { error: string; success: boolean; operation: "cancel_session"; ok: boolean; message?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"navigate">; ok: z.ZodBoolean; current_url: z.ZodOptional; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "navigate"; ok: boolean; current_url?: string | undefined; }, { error: string; success: boolean; operation: "navigate"; ok: boolean; current_url?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_screenshot">; ok: z.ZodBoolean; screenshot: z.ZodOptional; url: z.ZodOptional; title: z.ZodOptional; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_screenshot"; ok: boolean; title?: string | undefined; url?: string | undefined; screenshot?: string | undefined; }, { error: string; success: boolean; operation: "get_screenshot"; ok: boolean; title?: string | undefined; url?: string | undefined; screenshot?: string | undefined; }>]>; type AGIIncResult = z.output; type AGIIncParams = z.input; export type AGIIncParamsInput = z.input; export type AGIIncOperationResult = Extract; export declare class AGIIncBubble extends ServiceBubble> { testCredential(): Promise; static readonly type: "service"; static readonly service = "agi-inc"; static readonly authType: "apikey"; static readonly bubbleName = "agi-inc"; static readonly schema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"create_session">; agent_name: z.ZodDefault>>; webhook_url: z.ZodOptional; restore_from_session_id: z.ZodOptional; restore_default_environment_from_user_id: z.ZodOptional; enable_memory_snapshot: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "create_session"; agent_name: "agi-0" | "agi-0-fast"; enable_memory_snapshot: boolean; credentials?: Partial> | undefined; webhook_url?: string | undefined; restore_from_session_id?: string | undefined; restore_default_environment_from_user_id?: string | undefined; }, { operation: "create_session"; credentials?: Partial> | undefined; agent_name?: "agi-0" | "agi-0-fast" | undefined; webhook_url?: string | undefined; restore_from_session_id?: string | undefined; restore_default_environment_from_user_id?: string | undefined; enable_memory_snapshot?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_sessions">; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_sessions"; credentials?: Partial> | undefined; }, { operation: "list_sessions"; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_session">; session_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_session"; session_id: string; credentials?: Partial> | undefined; }, { operation: "get_session"; session_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_session">; session_id: z.ZodString; save_snapshot_mode: z.ZodDefault>>; save_as_default: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "delete_session"; session_id: string; save_snapshot_mode: "none" | "memory" | "filesystem"; save_as_default: boolean; credentials?: Partial> | undefined; }, { operation: "delete_session"; session_id: string; credentials?: Partial> | undefined; save_snapshot_mode?: "none" | "memory" | "filesystem" | undefined; save_as_default?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_all_sessions">; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "delete_all_sessions"; credentials?: Partial> | undefined; }, { operation: "delete_all_sessions"; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"send_message">; session_id: z.ZodString; message: z.ZodString; start_url: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { message: string; operation: "send_message"; session_id: string; credentials?: Partial> | undefined; start_url?: string | undefined; }, { message: string; operation: "send_message"; session_id: string; credentials?: Partial> | undefined; start_url?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_status">; session_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_status"; session_id: string; credentials?: Partial> | undefined; }, { operation: "get_status"; session_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_messages">; session_id: z.ZodString; after_id: z.ZodDefault>; sanitize: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_messages"; session_id: string; after_id: number; sanitize: boolean; credentials?: Partial> | undefined; }, { operation: "get_messages"; session_id: string; credentials?: Partial> | undefined; after_id?: number | undefined; sanitize?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"pause_session">; session_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "pause_session"; session_id: string; credentials?: Partial> | undefined; }, { operation: "pause_session"; session_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"resume_session">; session_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "resume_session"; session_id: string; credentials?: Partial> | undefined; }, { operation: "resume_session"; session_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"cancel_session">; session_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "cancel_session"; session_id: string; credentials?: Partial> | undefined; }, { operation: "cancel_session"; session_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"navigate">; session_id: z.ZodString; url: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { url: string; operation: "navigate"; session_id: string; credentials?: Partial> | undefined; }, { url: string; operation: "navigate"; session_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_screenshot">; session_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_screenshot"; session_id: string; credentials?: Partial> | undefined; }, { operation: "get_screenshot"; session_id: string; credentials?: Partial> | undefined; }>]>; static readonly resultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"create_session">; ok: z.ZodBoolean; session_id: z.ZodOptional; vnc_url: z.ZodOptional; agent_name: z.ZodOptional; status: z.ZodOptional>; created_at: z.ZodOptional; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "create_session"; ok: boolean; status?: "error" | "completed" | "initializing" | "ready" | "running" | "paused" | "terminated" | undefined; created_at?: string | undefined; session_id?: string | undefined; vnc_url?: string | undefined; agent_name?: string | undefined; }, { error: string; success: boolean; operation: "create_session"; ok: boolean; status?: "error" | "completed" | "initializing" | "ready" | "running" | "paused" | "terminated" | undefined; created_at?: string | undefined; session_id?: string | undefined; vnc_url?: string | undefined; agent_name?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_sessions">; ok: z.ZodBoolean; sessions: z.ZodOptional; agent_name: z.ZodString; status: z.ZodEnum<["initializing", "ready", "running", "paused", "completed", "error", "terminated"]>; created_at: z.ZodString; }, "strip", z.ZodTypeAny, { status: "error" | "completed" | "initializing" | "ready" | "running" | "paused" | "terminated"; created_at: string; session_id: string; agent_name: string; vnc_url?: string | undefined; }, { status: "error" | "completed" | "initializing" | "ready" | "running" | "paused" | "terminated"; created_at: string; session_id: string; agent_name: string; vnc_url?: string | undefined; }>, "many">>; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_sessions"; ok: boolean; sessions?: { status: "error" | "completed" | "initializing" | "ready" | "running" | "paused" | "terminated"; created_at: string; session_id: string; agent_name: string; vnc_url?: string | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "list_sessions"; ok: boolean; sessions?: { status: "error" | "completed" | "initializing" | "ready" | "running" | "paused" | "terminated"; created_at: string; session_id: string; agent_name: string; vnc_url?: string | undefined; }[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_session">; ok: z.ZodBoolean; session: z.ZodOptional; agent_name: z.ZodString; status: z.ZodEnum<["initializing", "ready", "running", "paused", "completed", "error", "terminated"]>; created_at: z.ZodString; }, "strip", z.ZodTypeAny, { status: "error" | "completed" | "initializing" | "ready" | "running" | "paused" | "terminated"; created_at: string; session_id: string; agent_name: string; vnc_url?: string | undefined; }, { status: "error" | "completed" | "initializing" | "ready" | "running" | "paused" | "terminated"; created_at: string; session_id: string; agent_name: string; vnc_url?: string | undefined; }>>; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_session"; ok: boolean; session?: { status: "error" | "completed" | "initializing" | "ready" | "running" | "paused" | "terminated"; created_at: string; session_id: string; agent_name: string; vnc_url?: string | undefined; } | undefined; }, { error: string; success: boolean; operation: "get_session"; ok: boolean; session?: { status: "error" | "completed" | "initializing" | "ready" | "running" | "paused" | "terminated"; created_at: string; session_id: string; agent_name: string; vnc_url?: string | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_session">; ok: z.ZodBoolean; deleted: z.ZodOptional; message: z.ZodOptional; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "delete_session"; ok: boolean; message?: string | undefined; deleted?: boolean | undefined; }, { error: string; success: boolean; operation: "delete_session"; ok: boolean; message?: string | undefined; deleted?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_all_sessions">; ok: z.ZodBoolean; deleted: z.ZodOptional; message: z.ZodOptional; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "delete_all_sessions"; ok: boolean; message?: string | undefined; deleted?: boolean | undefined; }, { error: string; success: boolean; operation: "delete_all_sessions"; ok: boolean; message?: string | undefined; deleted?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"send_message">; ok: z.ZodBoolean; message: z.ZodOptional; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "send_message"; ok: boolean; message?: string | undefined; }, { error: string; success: boolean; operation: "send_message"; ok: boolean; message?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_status">; ok: z.ZodBoolean; status: z.ZodOptional>; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_status"; ok: boolean; status?: "error" | "running" | "waiting_for_input" | "finished" | undefined; }, { error: string; success: boolean; operation: "get_status"; ok: boolean; status?: "error" | "running" | "waiting_for_input" | "finished" | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_messages">; ok: z.ZodBoolean; messages: z.ZodOptional; content: z.ZodUnion<[z.ZodString, z.ZodRecord]>; timestamp: z.ZodString; metadata: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "ERROR" | "DONE" | "THOUGHT" | "QUESTION" | "USER" | "LOG"; content: string | Record; id: number; timestamp: string; metadata?: Record | undefined; }, { type: "ERROR" | "DONE" | "THOUGHT" | "QUESTION" | "USER" | "LOG"; content: string | Record; id: number; timestamp: string; metadata?: Record | undefined; }>, "many">>; status: z.ZodOptional>; has_agent: z.ZodOptional; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_messages"; ok: boolean; status?: "error" | "running" | "waiting_for_input" | "finished" | undefined; messages?: { type: "ERROR" | "DONE" | "THOUGHT" | "QUESTION" | "USER" | "LOG"; content: string | Record; id: number; timestamp: string; metadata?: Record | undefined; }[] | undefined; has_agent?: boolean | undefined; }, { error: string; success: boolean; operation: "get_messages"; ok: boolean; status?: "error" | "running" | "waiting_for_input" | "finished" | undefined; messages?: { type: "ERROR" | "DONE" | "THOUGHT" | "QUESTION" | "USER" | "LOG"; content: string | Record; id: number; timestamp: string; metadata?: Record | undefined; }[] | undefined; has_agent?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"pause_session">; ok: z.ZodBoolean; message: z.ZodOptional; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "pause_session"; ok: boolean; message?: string | undefined; }, { error: string; success: boolean; operation: "pause_session"; ok: boolean; message?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"resume_session">; ok: z.ZodBoolean; message: z.ZodOptional; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "resume_session"; ok: boolean; message?: string | undefined; }, { error: string; success: boolean; operation: "resume_session"; ok: boolean; message?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"cancel_session">; ok: z.ZodBoolean; message: z.ZodOptional; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "cancel_session"; ok: boolean; message?: string | undefined; }, { error: string; success: boolean; operation: "cancel_session"; ok: boolean; message?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"navigate">; ok: z.ZodBoolean; current_url: z.ZodOptional; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "navigate"; ok: boolean; current_url?: string | undefined; }, { error: string; success: boolean; operation: "navigate"; ok: boolean; current_url?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_screenshot">; ok: z.ZodBoolean; screenshot: z.ZodOptional; url: z.ZodOptional; title: z.ZodOptional; error: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_screenshot"; ok: boolean; title?: string | undefined; url?: string | undefined; screenshot?: string | undefined; }, { error: string; success: boolean; operation: "get_screenshot"; ok: boolean; title?: string | undefined; url?: string | undefined; screenshot?: string | undefined; }>]>; static readonly shortDescription = "AGI Agent integration for browser automation and task execution"; static readonly longDescription = "\n AGI Agent Sessions API integration for creating browser agents that can perform tasks autonomously.\n Use cases:\n - Internet research and data extraction\n - Form filling and web automation\n - Making purchases with guest checkout\n - General web automation tasks\n\n Features:\n - Create and manage browser sessions\n - Send tasks and monitor progress\n - Control execution (pause, resume, cancel)\n - Capture screenshots\n - Webhook support for real-time updates\n\n Security Features:\n - Bearer token authentication\n - Rate limiting protection\n - Session isolation\n - Comprehensive error handling\n "; static readonly alias = "agi-inc"; constructor(params?: T, context?: BubbleContext, instanceId?: string); protected performAction(context?: BubbleContext): Promise>; private createSession; private listSessions; private getSession; private deleteSession; private deleteAllSessions; private sendMessage; private getStatus; private getMessages; private pauseSession; private resumeSession; private cancelSession; private navigate; private getScreenshot; protected chooseCredential(): string | undefined; private makeAGIApiCall; } export {}; //# sourceMappingURL=agi-inc.d.ts.map