/** * 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 FlowModelRepository from '../repository'; import type { FlowSurfaceResolveTarget, FlowSurfaceResolvedTarget } from './types'; export declare class SurfaceLocator { private readonly db; private readonly repository; constructor(db: any, repository: FlowModelRepository); resolve(target: FlowSurfaceResolveTarget, options?: { transaction?: any; }): Promise; findParentUid(uid: string, transaction?: any): Promise; findRouteBySchemaUid(schemaUid: string, transaction?: any): Promise; resolveCollectionContext(uid: string, transaction?: any): Promise<{ ownerUid: string; model: any; resourceInit: any; }>; private resolveByUid; private resolvePageSchemaUid; private findPageRouteFromModel; }