/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format */ import { DataSource, DataSourceOptions as BaseDataSourceOptions, DataSourceOptionKey as BaseDataSourceOptionKey } from '../data-source/DataSource'; type DataSourceOptions = BaseDataSourceOptions & { /** * Should this state persist when exporting a plugin? * If set, the dataSource will be saved / loaded under the key provided */ persist?: string; }; export declare function createDataSource(initialSet: readonly T[], options: DataSourceOptions & BaseDataSourceOptionKey): DataSource; export declare function createDataSource(initialSet?: readonly T[], options?: DataSourceOptions): DataSource; export {}; //# sourceMappingURL=createDataSource.d.ts.map