import { Query } from "@/request"; export declare const rpcCps: (query: Query<{ keyword: string; }>) => Promise<{ candidates: Array<{ access_count: string; tag_name: string; tag_translation: string; type: string; }>; }>; export declare const searchSuggestion: () => Promise; export declare const search: (type: "artworks" | "tags" | "top" | "illustrations" | "manga" | "novels", keyword: string, query?: QuerySearch) => Promise; type QuerySearch = { page: number; mode: "all" | "safe" | "r18"; order: string | "date_d" | "date"; s_mode?: "s_tag" | "s_tag_only" | "s_tag_full" | "s_tc"; ai_type?: 1; wlt?: string; wgt?: string; hlt?: string; hgt?: string; ratio: number | 0 | 0.5 | -0.5; tool: string; scd: string; ecd: string; type?: string | "all" | "illust_and_ugoira" | "illust" | "manga" | "ugoira"; work_lang: string | "zh-cn" | "ja" | "en" | "zh-tw"; gs: 0 | 1; } & Record; export {};