export interface NodeResources { } /** Dữ liệu consumer cấp cho `Composer` để node render, trong editor lẫn storefront. */ export type ComposerResources = { /** Giá trị các biến text theo key, dùng chung cho mọi node (vd. `inline` hiển thị `textVariable.key`). */ textVariables?: Record; /** Dữ liệu riêng của từng node. */ nodes?: Partial; }; export declare const ComposerResourcesContext: import('react').Context; export type ComposerResourcesSelector = (resources: ComposerResources) => S; export declare const useComposerResources: (selector?: ComposerResourcesSelector) => S;