import { BaseApi } from "../base-api"; import type { ApiRecords } from "../types"; import type { AttributeSet, ColumnSet, ColumnWithFilterAndExport, DataRules, DataStream } from "./types"; /** * @module DataStreamsApi * @description This module provides methods for interacting with Data Streams. * @extends BaseApi */ declare class DataStreamsApi extends BaseApi { /** * @function getDataStreamsForDSM * @memberof DataStreramsApi * @description Fetches a list Data Streams that contain an offer with the data_streams_market channel, given a search term * @returns {Promise>} A promise that resolves to the list of Data Streams. */ getDataStreamsForDSM(searchTerm: string, authenticated: boolean): Promise>; /** * Gets a single Data Stream given a slug and companyId. * * @param {number} slug - The slug for the Data Stream to return. * @param {number} companyId - The companyId for the Data Stream to return. * @returns {Promise} A promise that resolves with the Data Stream. */ getDataStreamBySlug(slug: string, companyId: number, authenticated: boolean): Promise; private getBaseUri; } export { type AttributeSet, type ColumnSet, type ColumnWithFilterAndExport, type DataRules, type DataStream, DataStreamsApi, };