import type { SourceAdapter } from "../SourceAdapter.js"; interface PolyPizzaCreator { readonly Username?: string; readonly DPURL?: string; } interface PolyPizzaModel { readonly ID: string; readonly Title?: string; readonly Description?: string; readonly Attribution?: string; readonly Thumbnail?: string; readonly Download?: string; readonly "Tri Count"?: number; readonly Creator?: PolyPizzaCreator; readonly Category?: string; readonly Tags?: readonly string[]; readonly Licence?: string; readonly Animated?: boolean; } interface PolyPizzaSearchResult { readonly total?: number; readonly results?: readonly PolyPizzaModel[]; } export interface PolyPizzaAdapterOptions { /** API key. Defaults to `process.env.POLY_PIZZA_API_KEY`. */ readonly apiKey?: string; /** * Override the network call for deterministic tests. Receives the search * keyword and the resolved API key, returns the raw `{ total, results }` body. */ readonly fetchSearch?: (keyword: string, apiKey: string) => Promise; } export declare function createPolyPizzaAdapter(options?: PolyPizzaAdapterOptions): SourceAdapter; export {}; //# sourceMappingURL=poly-pizza.d.ts.map