UNPKG

gif-picker-react

Version:

Multi-provider GIF Picker for React with pluggable provider support

41 lines (40 loc) 1 kB
import { n as GifProvider } from "../../GifProvider-CmpIJXla.mjs"; //#region src/providers/tenor/tenor.types.d.ts declare enum ContentFilter { HIGH = "high", MEDIUM = "medium", LOW = "low", OFF = "off" } interface TenorMediaFormat { url: string; dims: [number, number]; duration: number; size: number; } interface TenorResult { id: string; title: string; content_description: string; itemurl: string; url: string; tags: string[]; created: number; media_formats: { gif: TenorMediaFormat; tinygif: TenorMediaFormat; }; } //#endregion //#region src/providers/tenor/TenorProvider.d.ts type TenorProviderConfig = { baseUrl?: string; clientKey?: string; country?: string; locale?: string; contentFilter?: ContentFilter; }; declare function Tenor(apiKey: string, config?: TenorProviderConfig): GifProvider; //#endregion export { ContentFilter, Tenor, type TenorMediaFormat, type TenorProviderConfig, type TenorResult }; //# sourceMappingURL=index.d.mts.map