import { APIResource } from "../../core/resource.js"; import { APIPromise } from "../../core/api-promise.js"; import { RequestOptions } from "../../internal/request-options.js"; /** * Exports allow you to download the daily CSV files that are generated from the video views that occurred in the previous day. Please contact [support](mailto:support@mux.com) for information about enabling exports for your organization. */ export declare class Exports extends APIResource { /** * Lists the available video view exports along with URLs to retrieve them. * * @example * ```ts * const videoViewExportsResponse = * await client.data.exports.listVideoViews(); * ``` */ listVideoViews(options?: RequestOptions): APIPromise; } export interface ExportsResponse { data: Array; timeframe: Array; total_row_count: number | null; } export interface VideoViewExportsResponse { data: Array; timeframe: Array; total_row_count: number | null; } export declare namespace VideoViewExportsResponse { interface Data { export_date: string; files: Array; } namespace Data { interface File { path: string; type: string; version: number; } } } export declare namespace Exports { export { type ExportsResponse as ExportsResponse, type VideoViewExportsResponse as VideoViewExportsResponse, }; } //# sourceMappingURL=exports.d.ts.map