import { RenderExtensionPoint, ApiForRenderExtension } from '@shopify/checkout-ui-extensions'; /** * Returns the full API object that was passed in to your extension when it was created. * Depending on the extension point, this object can contain different properties. * * For example, the `Checkout::CartLineDetails::RenderAfter` extension point will return the [CartLineDetailsApi](https://shopify.dev/docs/api/checkout-ui-extensions/apis/cartlinedetailsapi) object. * Whereas others return the [StandardApi](https://shopify.dev/docs/api/checkout-ui-extensions/apis/standardapi) object. * * For reference, see [ExtensionPoints](https://shopify.dev/docs/api/checkout-ui-extensions/apis/extensionpoints) to determine what API object will be returned by your extension point. */ export declare function useApi(_id?: ID): ApiForRenderExtension; /** * Returns the full API object that was passed in to your extension when it was created. * Depending on the extension point, this object can contain different properties. * * For example, the `Checkout::CartLineDetails::RenderAfter` extension point will return the [CartLineDetailsApi](https://shopify.dev/docs/api/checkout-ui-extensions/apis/cartlinedetailsapi) object. * Whereas others return the [StandardApi](https://shopify.dev/docs/api/checkout-ui-extensions/apis/standardapi) object. * * For reference, see [ExtensionPoints](https://shopify.dev/docs/api/checkout-ui-extensions/apis/extensionpoints) to determine what API object will be returned by your extension point. */ export declare function useExtensionApi(): ApiForRenderExtension; //# sourceMappingURL=api.d.ts.map