import { NizzaProductDataSource, NizzaProductDataSourceConfig } from '../../../../core/src'; /** * Synchronously creates a product data source. Assumes that `nizza.account` * is already defined. * * @param {NizzaProductDataSourceConfig} config - The configuration object for creating the data source. * @returns {NizzaProductDataSource} The created product data source. * @throws {Error} Throws an error if `nizza.account` is not defined. */ export declare function createProductDataSource(config: NizzaProductDataSourceConfig): NizzaProductDataSource; /** * Asynchronously creates a product data source. Waits until `nizza.account` is defined. * While waiting, it monitors `accountStatus` changes and logs an error if the status changes to 'error'. * * @param {NizzaProductDataSourceConfig} config - The configuration object for creating the data source. * @returns {Promise} A promise that resolves with the created product data source. */ export declare function createProductDataSourceAsync(config: NizzaProductDataSourceConfig): Promise; //# sourceMappingURL=productDataSourceFactory.d.ts.map