import { DacastData } from "./dacast-data.js"; export declare namespace Dacast { interface Paginated { data?: xData[]; paging: { self?: string; last?: string; next?: string; previous?: string; }; totalCount: string; } type EmbedType = "javascript" | "iframe"; interface Embed { code: string; } interface Client { channels: { get(): Promise>; id(channelId: string): { get(): Promise; embed(embedType: EmbedType): { get(): Promise; }; }; }; vods: { get(): Promise>; id(vodId: string): { get(): Promise; embed(embedType: EmbedType): { get(): Promise; }; }; }; playlists: { get(): Promise>; id(playlistId: string): { get(): Promise; embed(embedType: EmbedType): { get(): Promise; }; }; }; } interface Headers { "X-Api-Key": string; "X-Format": "default"; } interface MakeClient { ({}: { apiKey: string; headers?: Partial; }): Client; } type GetClient = (apiKey: string) => Client; interface VerifyApiKey { (apiKey: string): Promise; } interface Sdk { getClient: GetClient; verifyApiKey: VerifyApiKey; } }