/** A host-owned action admitted by the signed renderer contribution. */ export declare interface TapInlineRendererAction { readonly id: string; readonly label: string; /** * Request the declared host action. When supplied, `payloadPointer` is an * RFC 6901 pointer into the host-sealed payload; renderer-authored values are * never accepted as navigation targets. */ invoke(payloadPointer?: string): void; } /** Default export implemented by a `tap-federated-view-v1` renderer expose. */ export declare interface TapInlineRendererModule { mount(container: HTMLElement, context: TapInlineRendererMountContext): TapInlineRendererMount | void | Promise; } export declare interface TapInlineRendererMount { unmount(): void | Promise; } /** Least-authority mount context supplied to one isolated package renderer. */ export declare interface TapInlineRendererMountContext { readonly packageId: string; readonly releaseId: string; readonly installationId: string; readonly contributionId: string; readonly rendererContributionId: string; readonly documentId: string; readonly instanceId: string; readonly payload: Readonly; readonly theme: TapInlineRendererTheme; readonly actions: Readonly>; readonly resources: TapInlineRendererResources; } /** Host-authorized, same-origin resources resolved outside `postMessage`. */ export declare interface TapInlineRendererResources { /** Read one declared resource. Each id is fetched at most once per mount. */ read(id: string): Promise>; } export declare interface TapInlineRendererTheme { getSnapshot(): TapInlineRendererThemeValue; subscribe(listener: () => void): () => void; } /** Live host-selected color scheme for an isolated inline renderer. */ export declare type TapInlineRendererThemeValue = 'light' | 'dark'; export { }