import { createContext } from 'react';
const initialMethods = {
    updatePreview: () => { },
    unmountPreview: () => { }
};
export const initialPreviewContext = {
    initialized: false,
    previewTriggerRef: { current: null },
    ...initialMethods
};
export const PreviewContext = createContext(initialPreviewContext);
export const PreviewManagerContext = createContext({
    createPreview: () => initialMethods,
    PreviewContext,
    initialized: false,
    previewActive: false,
    setPreviewActive: () => { }
});
//# sourceMappingURL=Contexts.js.map