///
export default storeConfig;
declare function storeConfig(preferencesKey: any, defaultPreferences: any): {
reducer: import("redux").Reducer<{
blocks: import("redux-undo").StateWithHistory<{
editCount: number;
blocks: any;
selection: any;
}>;
editor: {
patterns: any;
currentPattern: any;
ignoredContent: string[];
gutenbergTemplate: any;
settings: any;
/**
* - whether in visual or code editing mode.
*/
editorMode: import("./editor/reducer").EditorMode;
/**
* - whether the inserter is open.
*/
isInserterOpened: boolean;
/**
* - whether the list view is open.
*/
isListViewOpened: boolean;
/**
* - is this editor being used?
*/
isEditing: boolean;
/**
* - is the editor ready?
*/
isReady: boolean;
/**
* - current device type
*/
deviceType: string;
/**
* - editor canvas styles
*/
canvasStyles: any;
/**
* - whether the editor canvas is an iframe
*/
isIframePreview: boolean;
} | {
editorMode: any;
/**
* - whether the inserter is open.
*/
isInserterOpened: boolean;
/**
* - whether the list view is open.
*/
isListViewOpened: boolean;
/**
* - array of patterns.
*/
patterns: import("./editor/reducer").Pattern[];
/**
* - current pattern name.
*/
currentPattern: string | null;
/**
* - content to ignore when saving.
*/
ignoredContent: string[];
/**
* - the Gutenberg template
*/
gutenbergTemplate: any;
/**
* - is this editor being used?
*/
isEditing: boolean;
/**
* - is the editor ready?
*/
isReady: boolean;
/**
* - editor settings
*/
settings: import("..").IsoSettings;
/**
* - current device type
*/
deviceType: string;
/**
* - editor canvas styles
*/
canvasStyles: any;
/**
* - whether the editor canvas is an iframe
*/
isIframePreview: boolean;
} | {
isInserterOpened: any;
isInspectorOpened: boolean;
isListViewOpened: boolean;
/**
* - whether in visual or code editing mode.
*/
editorMode: import("./editor/reducer").EditorMode;
/**
* - array of patterns.
*/
patterns: import("./editor/reducer").Pattern[];
/**
* - current pattern name.
*/
currentPattern: string | null;
/**
* - content to ignore when saving.
*/
ignoredContent: string[];
/**
* - the Gutenberg template
*/
gutenbergTemplate: any;
/**
* - is this editor being used?
*/
isEditing: boolean;
/**
* - is the editor ready?
*/
isReady: boolean;
/**
* - editor settings
*/
settings: import("..").IsoSettings;
/**
* - current device type
*/
deviceType: string;
/**
* - editor canvas styles
*/
canvasStyles: any;
/**
* - whether the editor canvas is an iframe
*/
isIframePreview: boolean;
} | {
isInspectorOpened: any;
isListViewOpened: boolean;
/**
* - whether in visual or code editing mode.
*/
editorMode: import("./editor/reducer").EditorMode;
/**
* - whether the inserter is open.
*/
isInserterOpened: boolean;
/**
* - array of patterns.
*/
patterns: import("./editor/reducer").Pattern[];
/**
* - current pattern name.
*/
currentPattern: string | null;
/**
* - content to ignore when saving.
*/
ignoredContent: string[];
/**
* - the Gutenberg template
*/
gutenbergTemplate: any;
/**
* - is this editor being used?
*/
isEditing: boolean;
/**
* - is the editor ready?
*/
isReady: boolean;
/**
* - editor settings
*/
settings: import("..").IsoSettings;
/**
* - current device type
*/
deviceType: string;
/**
* - editor canvas styles
*/
canvasStyles: any;
/**
* - whether the editor canvas is an iframe
*/
isIframePreview: boolean;
} | {
isInserterOpened: boolean;
isInspectorOpened: boolean;
isListViewOpened: any;
/**
* - whether in visual or code editing mode.
*/
editorMode: import("./editor/reducer").EditorMode;
/**
* - array of patterns.
*/
patterns: import("./editor/reducer").Pattern[];
/**
* - current pattern name.
*/
currentPattern: string | null;
/**
* - content to ignore when saving.
*/
ignoredContent: string[];
/**
* - the Gutenberg template
*/
gutenbergTemplate: any;
/**
* - is this editor being used?
*/
isEditing: boolean;
/**
* - is the editor ready?
*/
isReady: boolean;
/**
* - editor settings
*/
settings: import("..").IsoSettings;
/**
* - current device type
*/
deviceType: string;
/**
* - editor canvas styles
*/
canvasStyles: any;
/**
* - whether the editor canvas is an iframe
*/
isIframePreview: boolean;
} | {
isEditing: any;
/**
* - whether in visual or code editing mode.
*/
editorMode: import("./editor/reducer").EditorMode;
/**
* - whether the inserter is open.
*/
isInserterOpened: boolean;
/**
* - whether the list view is open.
*/
isListViewOpened: boolean;
/**
* - array of patterns.
*/
patterns: import("./editor/reducer").Pattern[];
/**
* - current pattern name.
*/
currentPattern: string | null;
/**
* - content to ignore when saving.
*/
ignoredContent: string[];
/**
* - the Gutenberg template
*/
gutenbergTemplate: any;
/**
* - is the editor ready?
*/
isReady: boolean;
/**
* - editor settings
*/
settings: import("..").IsoSettings;
/**
* - current device type
*/
deviceType: string;
/**
* - editor canvas styles
*/
canvasStyles: any;
/**
* - whether the editor canvas is an iframe
*/
isIframePreview: boolean;
} | {
isReady: any;
/**
* - whether in visual or code editing mode.
*/
editorMode: import("./editor/reducer").EditorMode;
/**
* - whether the inserter is open.
*/
isInserterOpened: boolean;
/**
* - whether the list view is open.
*/
isListViewOpened: boolean;
/**
* - array of patterns.
*/
patterns: import("./editor/reducer").Pattern[];
/**
* - current pattern name.
*/
currentPattern: string | null;
/**
* - content to ignore when saving.
*/
ignoredContent: string[];
/**
* - the Gutenberg template
*/
gutenbergTemplate: any;
/**
* - is this editor being used?
*/
isEditing: boolean;
/**
* - editor settings
*/
settings: import("..").IsoSettings;
/**
* - current device type
*/
deviceType: string;
/**
* - editor canvas styles
*/
canvasStyles: any;
/**
* - whether the editor canvas is an iframe
*/
isIframePreview: boolean;
} | {
deviceType: any;
/**
* - whether in visual or code editing mode.
*/
editorMode: import("./editor/reducer").EditorMode;
/**
* - whether the inserter is open.
*/
isInserterOpened: boolean;
/**
* - whether the list view is open.
*/
isListViewOpened: boolean;
/**
* - array of patterns.
*/
patterns: import("./editor/reducer").Pattern[];
/**
* - current pattern name.
*/
currentPattern: string | null;
/**
* - content to ignore when saving.
*/
ignoredContent: string[];
/**
* - the Gutenberg template
*/
gutenbergTemplate: any;
/**
* - is this editor being used?
*/
isEditing: boolean;
/**
* - is the editor ready?
*/
isReady: boolean;
/**
* - editor settings
*/
settings: import("..").IsoSettings;
/**
* - editor canvas styles
*/
canvasStyles: any;
/**
* - whether the editor canvas is an iframe
*/
isIframePreview: boolean;
} | {
isIframePreview: any;
/**
* - whether in visual or code editing mode.
*/
editorMode: import("./editor/reducer").EditorMode;
/**
* - whether the inserter is open.
*/
isInserterOpened: boolean;
/**
* - whether the list view is open.
*/
isListViewOpened: boolean;
/**
* - array of patterns.
*/
patterns: import("./editor/reducer").Pattern[];
/**
* - current pattern name.
*/
currentPattern: string | null;
/**
* - content to ignore when saving.
*/
ignoredContent: string[];
/**
* - the Gutenberg template
*/
gutenbergTemplate: any;
/**
* - is this editor being used?
*/
isEditing: boolean;
/**
* - is the editor ready?
*/
isReady: boolean;
/**
* - editor settings
*/
settings: import("..").IsoSettings;
/**
* - current device type
*/
deviceType: string;
/**
* - editor canvas styles
*/
canvasStyles: any;
};
preferences: any;
options: {};
}, any, Partial<{
blocks: import("redux-undo").StateWithHistory<{
editCount: number;
blocks: any;
selection: any;
}> | undefined;
editor: import("./editor/reducer").EditorState | undefined;
preferences: any;
options: {} | undefined;
}>>;
actions: {
toggleFeature(feature: string): {
type: string;
feature: string;
};
toggleOption(option: string): {
type: string;
option: string;
};
setReady(isReady: boolean): {
type: string;
isReady: boolean;
};
setEditorMode(editorMode: import("./editor/reducer").EditorMode): {
type: string;
editorMode: import("./editor/reducer").EditorMode;
};
setupEditor(settings: import("..").BlockEditorSettings): {
type: string;
settings: import("..").BlockEditorSettings;
};
setCurrentPattern(pattern: string): {
type: string;
pattern: string;
};
setIsInserterOpened(isOpen: boolean): {
type: string;
isOpen: boolean;
};
setDeviceType(deviceType: string): {
type: string;
deviceType: string;
};
setCanvasStyles(canvasStyles: string): {
type: string;
canvasStyles: string;
};
setIsIframePreview(isIframePreview: boolean): {
type: string;
isIframePreview: boolean;
};
setEditing(isEditing: boolean): {
type: string;
isEditing: boolean;
};
openGeneralSidebar(name: string): Generator