import type { Metafield, MetafieldChange, MetafieldChangeResult, RenderExtensionPoint } from '@shopify/checkout-ui-extensions'; interface MetafieldsFilters { namespace: string; key?: string; } /** * Returns the current array of `metafields` applied to the checkout. * You can optionally filter the list. * @arg {MetafieldsFilters} - filter the list of returned metafields */ export declare function useMetafields(filters?: MetafieldsFilters): Metafield[]; /** * Returns a function to mutate the `metafields` property of the checkout. */ export declare function useApplyMetafieldsChange(): (change: MetafieldChange) => Promise; export {}; //# sourceMappingURL=metafields.d.ts.map