UNPKG

@etherna/sdk-js

Version:

Etherna SDKs for operations on the network

16 lines 632 B
import type { EthernaIndexClient } from "."; import type { PaginatedResult, RequestOptions } from ".."; import type { IndexVideoPreview } from "./types"; export declare class IndexSearch { private instance; constructor(instance: EthernaIndexClient); /** * Search videos * @param query Search query * @param page Page offset (default = 0) * @param take Count of users to get (default = 25) * @param opts Request options */ fetchVideos(query: string, page?: number, take?: number, opts?: RequestOptions): Promise<PaginatedResult<IndexVideoPreview>>; } //# sourceMappingURL=search.d.ts.map