/** * This file is part of the NocoBase (R) project. * Copyright (c) 2020-2024 NocoBase Co., Ltd. * Authors: NocoBase Team. * * This program is offered under a commercial license. * For more information, see */ import { Collection, CollectionContext, CollectionOptions, Model } from '@nocobase/database'; import { QueryInterfaceDropTableOptions, QueryInterfaceOptions } from 'sequelize'; import PluginCollectionFDWServer from './plugin'; export declare class ForeignDataCollection extends Collection { constructor(options: CollectionOptions, context: CollectionContext); static registerOptions(plugin: PluginCollectionFDWServer): { condition(options: any): any; onDump(): Promise; onSync(model: typeof Model, options: any): Promise; }; removeFieldFromDb(name: string, options?: QueryInterfaceOptions): Promise; removeFromDb(options?: QueryInterfaceDropTableOptions): Promise>; protected bindFieldEventListener(): void; }