/// <reference types="react" />
export type IContentModuleContext = {
    id: string;
    namePath: string;
    onCancel: VoidFunction;
    onDelete(): Promise<unknown>;
    onReplace(): Promise<unknown>;
    onSave(): Promise<unknown>;
};
export declare const ContentModuleContext: import("react").Context<IContentModuleContext>;
export declare const useContentModule: () => IContentModuleContext;
