import type * as qapps from "@distilled.cloud/aws/qapps"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { QApp } from "./QApp.ts"; /** * Request for {@link StartQAppSession} — `instanceId` and `appId` are injected from the bound Q App. */ export interface StartQAppSessionRequest extends Omit { } /** * Runtime binding for `qapps:StartQAppSession`. * * Starts a new session of the bound Q App, optionally seeding initial card values. Provide the implementation with * `Effect.provide(AWS.QApps.StartQAppSessionHttp)`. * ### Sessions * **Example:** Start a Session * ```typescript * // init — bind the operation to the Q App * const startQAppSession = yield* AWS.QApps.StartQAppSession(app); * * // runtime * const session = yield* startQAppSession({ appVersion: 1 }); * console.log(session.sessionId); * ``` * * @binding */ export interface StartQAppSession extends Binding.Service Effect.Effect<(request: StartQAppSessionRequest) => Effect.Effect>> { } export declare const StartQAppSession: StartQAppSession; //# sourceMappingURL=StartQAppSession.d.ts.map