bandcamp-fetch
Version:
Scrape Bandcamp content
18 lines • 581 B
TypeScript
import BaseAPI, { type BaseAPIParams } from '../common/BaseAPI.js';
import type Limiter from '../utils/Limiter.js';
export interface StreamTestResult {
ok: boolean;
status: number;
}
export default class StreamAPI extends BaseAPI {
test(url: string): Promise<StreamTestResult>;
refresh(url: string): Promise<string | null>;
}
export declare class LimiterStreamAPI extends StreamAPI {
#private;
constructor(params: BaseAPIParams & {
limiter: Limiter;
});
refresh(url: string): Promise<string | null>;
}
//# sourceMappingURL=StreamAPI.d.ts.map