export interface IQDBClientConfig { baseDomain: string; similarityPass: number; userAgent: string; fetchOptions?: RequestInit; } /**'www'search all libs */ export type IQDB_SEARCH_LIBRARY_2D = 'danbooru' | 'konachan' | 'yandere' | 'gelbooru' | 'sankaku' | 'e-shuushuu' | 'zerochan' | 'anime-pictures' | 'www'; /**cosplay, asian models, idols.'3d' search all libs.*/ export type IQDB_SEARCH_LIBRARY_3D = '3d' | '3dbooru' | 'idol'; export interface IQDB_SEARCH_OPTIONS_GENERAL { forcegray?: boolean; fileName?: string; } export type IQDB_SEARCH_OPTIONS_2D = ({ lib: Exclude; service?: undefined; } | { lib: 'www'; service?: Array; }) & IQDB_SEARCH_OPTIONS_GENERAL; export type IQDB_SEARCH_OPTIONS_3D = ({ lib: Exclude; service?: undefined; } | { lib: '3d'; service?: Array; }) & IQDB_SEARCH_OPTIONS_GENERAL; export type IQDB_SEARCH_OPTIONS_ALL = IQDB_SEARCH_OPTIONS_2D | IQDB_SEARCH_OPTIONS_3D; export declare enum IQDBLibs_2D { danbooru = 1, konachan = 2, 'yande.re' = 3, gelbooru = 4, 'sankaku channel' = 5, 'e-shuushuu' = 6, zerochan = 11, 'anime-picture' = 13 } export declare enum IQDBLibs_3D { '3dbooru' = 7, 'idol' = 9 } export type IQDB_RESULT_TYPE = 'Safe' | 'Ero' | 'Explicit' | string;