/** * This file is part of the NocoBase (R) project. * Copyright (c) 2020-2024 NocoBase Co., Ltd. * Authors: NocoBase Team. * * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License. * For more information, please refer to: https://www.nocobase.com/agreement. */ import type { FlowModel } from '../models'; type LoadedPageOptions = { parentId?: string; subKey?: string; }; type DirtyKeyOptions = { force?: boolean; }; export declare const createLoadedPageCache: () => { getDirtyKeyForModel(model?: FlowModel | null, options?: DirtyKeyOptions): string | undefined; markDirty(key?: string): void; markDirtyForOptions(options?: LoadedPageOptions): void; shouldBypass(options?: LoadedPageOptions, isFlowSettingsEnabled?: () => boolean): boolean; clear(options?: LoadedPageOptions): void; mountModelToParent: = FlowModel>(model: T, forceReplace?: boolean) => T; }; export {};