import { RemoteRoot, RemoteComponentType } from '@remote-ui/core'; /** * The output expected from the ShouldRender extension point. */ interface RenderResult { /** * Whether the post-purchase page is requested. */ update?(input: Partial): void; } /** * A type of extension point that is capable of rendering UI into Checkout * natively. This type of extension point receives an object to manipulate * the UI as its first argument, and additional data and methods as a second * argument. The object that can manipulate the UI is referred to as a `RemoteRoot`, * and is provided by the [remote-ui library](https://github.com/Shopify/remote-ui/tree/main/packages/core) * on which UI Extensions' rendering capabilities are built. */ export interface RenderExtension> { /** * Input type for RenderExtension. */ (root: RemoteRoot, input: Input): RenderResult | void; } export {}; //# sourceMappingURL=render-extension.d.ts.map