import { type PresentedAppActionPage } from "@opengeni/contracts/session-history"; import type { ToolCallItem } from "./types.js"; export type PaymentPageKind = PresentedAppActionPage; export type PaymentPage = { kind: PaymentPageKind; /** The page, exactly as the API returned it (Checkout needs its #fragment). */ url: string; /** Set for a credits checkout, whose payment the chat confirms. */ checkoutSessionId?: string | undefined; amountUsd?: number | undefined; /** The organization the call named, when it named one. */ accountId?: string | undefined; /** When the call ran (ms since epoch), for a link that expires; unknown when absent. */ createdAt?: number | undefined; }; /** The Opengeni server's own app-action tool; another server's tool of that name is not trusted. */ export declare const TRUSTED_APP_ACTION_CALL_NAMES: readonly string[]; /** The payment page a completed app-action call opened, or null for any other call. */ export declare function paymentPageOf(item: ToolCallItem): PaymentPage | null;