import type { Children } from "@alloy-js/core"; import { For, refkey } from "@alloy-js/core"; import * as ts from "@alloy-js/typescript"; import type * as cl from "@typespec/http-client"; import { httpRuntimeTemplateLib } from "../external-packages/ts-http-runtime.js"; export interface ClientContextOptionsDeclarationProps { client: cl.Client; } export function getClientContextOptionsRef(client: cl.Client) { return refkey(client, "options"); } export function ClientContextOptionsDeclaration(props: ClientContextOptionsDeclarationProps) { const ref = getClientContextOptionsRef(props.client); const namePolicy = ts.useTSNamePolicy(); const name = namePolicy.getName(`${props.client.name}Options`, "interface"); // TODO: Here we will calculate and include all the options that the client can accept const clientOptions: Map = new Map(); return ( } > {([key, value]) => } ; ); }