export * from '../dataviews/store/private-actions';
/**
 * Returns an action object used to set which template is currently being used/edited.
 *
 * @param {string} id Template Id.
 *
 * @return {Object} Action object.
 */
export declare function setCurrentTemplateId(id: string): Object;
/**
 * Create a block based template.
 *
 * @param {?Object} template Template to create and assign.
 */
export declare const createTemplate: (template: Object | null) => ({ select, dispatch, registry }: {
    dispatch: any;
    registry: any;
    select: any;
}) => Promise<any>;
/**
 * Update the provided block types to be visible.
 *
 * @param {string[]} blockNames Names of block types to show.
 */
export declare const showBlockTypes: (blockNames: string[]) => ({ registry }: {
    registry: any;
}) => void;
/**
 * Update the provided block types to be hidden.
 *
 * @param {string[]} blockNames Names of block types to hide.
 */
export declare const hideBlockTypes: (blockNames: string[]) => ({ registry }: {
    registry: any;
}) => void;
/**
 * Save entity records marked as dirty.
 *
 * @param {Object}   options                        Options for the action.
 * @param {Function} [options.onSave]               Callback when saving happens.
 * @param {object[]} [options.dirtyEntityRecords]   Array of dirty entities.
 * @param {object[]} [options.entitiesToSkip]       Array of entities to skip saving.
 * @param {Function} [options.close]                Callback when the actions is called. It should be consolidated with `onSave`.
 * @param {string}   [options.successNoticeContent] Optional custom success notice content. Defaults to 'Site updated.'.
 */
export declare const saveDirtyEntities: ({ onSave, dirtyEntityRecords, entitiesToSkip, close, successNoticeContent, }?: {
    onSave?: Function;
    dirtyEntityRecords?: object[];
    entitiesToSkip?: object[];
    close?: Function;
    successNoticeContent?: string;
}) => ({ registry }: {
    registry: any;
}) => void;
/**
 * Reverts a template to its original theme-provided file.
 *
 * @param {Object}  template            The template to revert.
 * @param {Object}  [options]
 * @param {boolean} [options.allowUndo] Whether to allow the user to undo
 *                                      reverting the template. Default true.
 */
export declare const revertTemplate: (template: Object, { allowUndo }?: {
    allowUndo?: boolean;
}) => ({ registry }: {
    registry: any;
}) => Promise<void>;
/**
 * Action that removes an array of templates, template parts or patterns.
 *
 * @param {Array} items An array of template,template part or pattern objects to remove.
 */
export declare const removeTemplates: (items: Array) => ({ registry }: {
    registry: any;
}) => Promise<void>;
/**
 * Set the default rendering mode preference for the current post type.
 *
 * @param {string} mode The rendering mode to set as default.
 */
export declare const setDefaultRenderingMode: (mode: string) => ({ select, registry }: {
    registry: any;
    select: any;
}) => void;
/**
 * Set the current global styles navigation path.
 *
 * @param {string} path The navigation path.
 * @return {Object} Action object.
 */
export declare function setStylesPath(path: string): Object;
/**
 * Set whether the stylebook is visible.
 *
 * @param {boolean} show Whether to show the stylebook.
 * @return {Object} Action object.
 */
export declare function setShowStylebook(show: boolean): Object;
/**
 * Reset the global styles navigation to initial state.
 *
 * @return {Object} Action object.
 */
export declare function resetStylesNavigation(): Object;
/**
 * Set the current revision ID for revisions preview mode.
 * Pass a revision ID to enter revisions mode, or null to exit.
 *
 * @param {number|null} revisionId The revision ID, or null to exit revisions mode.
 * @return {Object} Action object.
 */
export declare function setCurrentRevisionId(revisionId: number | null): Object;
/**
 * Set the current revisions page number and select the newest
 * revision on that page once it loads.
 *
 * @param {number} page The page number.
 */
export declare const setRevisionPage: (page: number) => ({ dispatch, select, registry }: {
    dispatch: any;
    registry: any;
    select: any;
}) => Promise<void>;
/**
 * Set whether the revision diff highlighting is shown.
 *
 * @param {boolean} showDiff Whether to show diff highlighting.
 * @return {Object} Action object.
 */
export declare function setShowRevisionDiff(showDiff: boolean): Object;
/**
 * Restore a revision by replacing the current content with the revision's content
 * and auto-saving.
 *
 * @param {number} revisionId The revision ID to restore.
 */
export declare const restoreRevision: (revisionId: number) => ({ select, dispatch, registry }: {
    dispatch: any;
    registry: any;
    select: any;
}) => Promise<void>;
/**
 * Select a note by its ID, or clear the selection.
 *
 * @param {undefined|number|'new'} noteId          The note ID to select, 'new' to open the new note form, or undefined to clear.
 * @param {Object}                 [options]       Optional options for the selection.
 * @param {boolean}                [options.focus] Whether to focus the selected note. Default false.
 * @return {Object} Action object.
 */
export declare function selectNote(noteId: undefined | number | 'new', options?: {
    focus?: boolean;
}): Object;
//# sourceMappingURL=private-actions.d.ts.map