import type * as agentcore from "@distilled.cloud/aws/bedrock-agentcore"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { BrowserCustom } from "./BrowserCustom.ts"; export interface GetBrowserSessionRequest extends Omit { } /** * Reads a browser session's configuration, status, and stream endpoints. * * Bind a {@link BrowserCustom} inside a function runtime to call the * AgentCore data-plane API against it. Provide `AgentCore.GetBrowserSessionHttp` * on the Function effect to implement the binding. * * ### Browser Sessions * **Example:** Read a Session * ```typescript * // init * const getBrowserSession = yield* AgentCore.GetBrowserSession(browser); * * return { * fetch: Effect.gen(function* () { * // runtime * const result = yield* getBrowserSession({ sessionId }); * return HttpServerResponse.json({ status: result.status }); * }), * }; * ``` * * @binding */ export interface GetBrowserSession extends Binding.Service(browser: R) => Effect.Effect<(request: GetBrowserSessionRequest) => Effect.Effect>> { } export declare const GetBrowserSession: GetBrowserSession; //# sourceMappingURL=GetBrowserSession.d.ts.map